j
k
j a
j l
I didn't test, but I think something like this should do the job: ...template<typename T> struct S { template <class T1 = T> typename disable_if::type mutating_method(); };
I didn't test, but I think something like this should do the job:
template<typename T> struct S { template <class T1 = T> typename disable_if::type mutating_method(); };
Default template arguments are disallowed for function templates.
Back to the thread
Back to the list