Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-06 17:37:50

Pavel Chikulaev wrote:
> "Matthias Kaeppler" <nospam_at_[hidden]> wrote in message
> news:d0futi$j8m$
>>> But I can do it with Boost::Bind:
>>> std::sort(vec.begin(), vec.end(), boost::bind(std::less<int>(),
>>> *_1, *_2));
>> This looks new to me. What exactly does this do? Sort the container
>> of pointers by applying std::less to the pointees?

> Read boost::bind documentation

Have you tried compiling this? Maybe you're thinking of Boost.Lambda.


Boost list run by bdawes at, gregod at, cpdaniel at, john at