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