Boost logo

Boost Users :

Subject: Re: [Boost-users] Member-Function to String conversion.
From: Siegfried Kettlitz (siegfried.kettlitz_at_[hidden])
Date: 2008-11-03 12:14:12


> I mean to use a pointer to mem_fn, not a pointer to the member function.
>
> pointer_type pointer;
> pointer = someobject.get_pointer( "foobar2" );
>
> What is pointer_type? You said a mem_fn object. Then use a pointer to this
> mem_fn object for the bimap item.

This would work as you say, but that only moves the problem.

How do i get from "&foo1::bar1" to the mem_fn object?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net