Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
In file included from prog.cc:40:
/opt/wandbox/clang-head/include/c++/v1/algorithm:1963:21: error: assigning to 'int' from incompatible type 'decltype(CNL_detail::detail_halve(std::forward<decltype(t)>(t), priority_tag<2>{}))' (aka 'Other::Bignum')
*__result = __op(*__first);
^~~~~~~~~~~~~~
prog.cc:67:14: note: in instantiation of function template specialization 'std::__1::transform<std::__1::__wrap_iter<int *>, std::__1::__wrap_iter<int *>, CNL::(lambda at prog.cc:33:39)>' requested here
std::transform(vec.begin(), vec.end(), vec.begin(), CNL::cpo_halve);
^
1 error generated.
Exit Code:
1