From: Fredrik (fredrik_blomqvist_at_[hidden])
Date: 2004-02-26 05:07:51
John Torjo wrote:
>I think since member functions can be wrapped up as >functors, why not
>same for member data?
>Therefore, I think this could be a useful addition to >functional:
>What do you think?
I think Peter Dimov has already thought about this ;) Read the current mem_fn docs carefully and you'll find a data-case also.
I agree it's very useful functionality. It was added fairly "silently" though (mid 2002 IIRC) which might have made people miss it(?).
// Fredrik Blomqvist
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk