13 Mar
2012
13 Mar
'12
3:43 p.m.
On Tue, Mar 13, 2012 at 3:36 PM, Philipp Moeller < philipp.moeller@geometryfactory.com> wrote:
I don't know Boost.MemberFunction and couldn't find any documentation for it, could you provide a link?
But from what I can gather in your message, boost::mem_fn seems to be exactly this:
for_each( xs.begin( ), xs.end( ), boost::mem_fn(& X::method) );
Granted, it is not exactly what you want, but gets very close.
You're there already mem_fn is called 'Member Function' in the front page list. It is exactly the boost::mem_fn syntactic noise I was seeking to avoid. - R.