
26 Feb
2004
26 Feb
'04
10:07 a.m.
John Torjo wrote:
Hi all,
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: <<snip>> 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