j
k
j a
j l
Olaf van der Spek wrote:
......sort(countries1.begin(), countries1.end(), _1->second > _2->second);
...sort(countries1.begin(), countries1.end(), _1->second > _2->second);
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 ) );
Back to the thread
Back to the list