Boost logo

Boost Users :

From: Ian McCulloch (ianmcc_at_[hidden])
Date: 2005-03-17 03:22:29


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net