Boost logo

Boost Users :

From: Leon Mergen (leon_at_[hidden])
Date: 2006-04-09 13:45:42


Peter Dimov wrote:
> Leon Mergen wrote:
>
>
>> std::sort ( _elements.begin(), _elements.end(), boost::bind ( A::sort,
>> this, _1, _2 ) );
>>
>
> Make that &A::sort. Pointers to members require the &.
>
D'oh, that was stupid... it even works now, thanks a lot!! :)

Grt,

Leon


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