Not my code and I haven't used templates much. These two lines
template <class U>
static yes_type test(U&, decltype(U(source<U>()))* = 0);
give the error
Error C2760 syntax error: unexpected token ')', expected 'expression'
Thanks.
template <class U>
static yes_type test(U&, decltype(U(source<U>()))* = 0);
give the error
Error C2760 syntax error: unexpected token ')', expected 'expression'
Thanks.