|
Boost : |
From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-02-08 12:40:23
Checkout one of the functional libraries, lambda (in the boost vault and at
http://lambda.cs.utu.fi) , FC++ (http://www.cc.gatech.edu/~yannis/fc++/ ),
FACT! (http://www.fz-juelich.de/zam/FACT/ ) etc.
You need a reasonably complaint complier but the syntax is much better.
using LL
std::sort (vec.begin (),
vec.end (),
free1->(&Data::column1_) > free2->(&Data::column1_) );
-gary-
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk