Douglas Gregor <[EMAIL PROTECTED]> writes:

> We've discussed making boost::ref/boost::cref work for arbitrary functions 
> objects before. I just committed a version of ref.hpp that supports this 
> ability to the sandbox. With this code, you can write:
>
>   std::transform(c.begin(), c.end(), out, boost::ref(f));

What's the key feature?  Overloaded operator() on reference_wrapper?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to