Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
prog.cc:95:9: error: no matching function for call to object of type 'const std2::(lambda at prog.cc:48:34)'
std2::swap(x, y);
^~~~~~~~~~
prog.cc:48:34: note: candidate template ignored: substitution failure [with $0 = Other::Wodget, $1 = Other::Wodget]: no matching function for call to 'detail_swap'
inline constexpr auto swap = [](auto& a, auto& b)
^
1 error generated.
Exit Code:
1