Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-01-03 08:17:25


Marshall Clow wrote:
> Three years old - looks like an easy answer.
> <http://svn.boost.org/trac/boost/ticket/426>
>
> Anyone? Anyone? Bueller?
>
> Thanks.

I think I see the problem.
bind passes by value, therefore you attempt to copy-construct a
SubExpression, which is abstract.
Try la::bind(SPtrSubExpression::get, la::_1) instead of *la::_1
Or maybe boost::ref(*la::_1)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk