|
Boost Users : |
Subject: Re: [Boost-users] Member-Function to String conversion.
From: Siegfried Kettlitz (siegfried.kettlitz_at_[hidden])
Date: 2008-11-03 10:36:48
> pointer_type pointer;
> pointer = someobject.get_pointer( "foobar2" );
>
> What is pointer_type?
That would be something like mem_fn - not actually a pointer but an
object that stores the pointer. The actual pointer can be extracted
from that object when it is known, or the function can be called via
this object.
> Once you define pointer_type you can use it in the
> bimap.
As far as i know, comparing mem_fn or similar functions cannot compare
the pointers because they are of different types.
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