
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.
-----Messaggio originale----- Da: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] Per conto di Siegfried Kettlitz Inviato: lunedì 3 novembre 2008 16.47 A: boost-users@lists.boost.org Oggetto: Re: [Boost-users] Member-Function to String conversion.
Then use a pointer to mem_fn for the bimap and not directly the function pointer.
That's not possible because when: mem_fn a( &class::function ); mem_fn b( &class::function ); then a and b are different objects but internally point to the same function. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users