
25 Feb
2004
25 Feb
'04
1:38 a.m.
"Peter Dimov" <pdimov@mmltd.net> writes:
I've taken the liberty to apply the following patch to boost/lambda/detail/operator_return_type_traits.hpp:
<snip>
// A is a nonreference type template <class A> struct contentsof_type { ! typedef typename boost::indirect_reference<A>::type type;
You're welcome ;-)
// this is since the nullary () in lambda_functor is always instantiated
This (hopefully) makes *_1 work for smart pointers.
Feel free to revert the patch if it breaks something; I don't have a full regression test system set up.
-- Dave Abrahams Boost Consulting www.boost-consulting.com