From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-03-06 17:23:29
"Matthias Kaeppler" <nospam_at_[hidden]> wrote in message
>> But I can do it with Boost::Bind:
>> std::sort(vec.begin(), vec.end(), boost::bind(std::less<int>(), *_1,
> This looks new to me. What exactly does this do? Sort the container of
> pointers by applying std::less to the pointees?
>> Boost::Bind's solution is much better that yours, because it constists
>> indirector_unary, indirector_binary, indirector_ternary and so on.
Read boost::bind documentation http://www.boost.org/libs/bind/bind.html.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk