$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2007-08-09 04:43:51
On 8/9/07, Peter Dimov <pdimov_at_[hidden]> wrote:
> Olaf van der Spek wrote:
>
> >>> sort(countries1.begin(), countries1.end(),
> >>> _1->second > _2->second);
>
> sort( countries1.begin(), countries1.end(),
>
> bind( &countries_t::value_type::second, *_1 ) > bind(
> &countries_t::value_type::second, *_2 )
Thanks, that did the trick. I didn't know you could use bind like this
too. But why does the simpler syntax not work?