
17 Mar
2005
17 Mar
'05
8:22 a.m.
Thanks Peter, I think I understand how it works now. Unfortunately, the lack of SFINAE is a real showstopper for me. I want to write functions like template <typename T> typename result_of<negate(T)>::type operator-(T const& x) { return negate()(x); } but the lack of SFINAE here makes boost::result_of essentially useless for this. But I imagine it won't be difficult to make a new version based on boost that would work. Cheers, Ian