31 Jan
2014
31 Jan
'14
1:01 p.m.
This looks cool. However what does it detect? Any operator() or nullary operator()?
It detects any operator(), because expression &detail::is_functional_composed<T>::operator() is ambiguos when detail::is_functional_composed<T> has two or more operator(). But is_callable looks really better. Sorry for suggestion. Best regards, Anton.