|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-06-09 11:49:50
It seems to me that when BOOST_TYPEOF becomes available,
boost::result_of should use it in its default implementation,
something like:
template <class F, class A>
struct result_of<F(A)>
{
typedef typename BOOST_TYPEOF(make<F>() ( make<A>() ) ) type;
};
Is that in the plan?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk