Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-16 16:48:14


It would be convenient for me if mem_fn(pm) could be *called* to set
the data member, as in:

     X x;

     mem_fn(&X::member)(x, value);

That way, bind(&X::member, _1, value) would be useful.

-- 
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