//#include //#include "boost/shared_ptr.hpp" #include #include using namespace boost::lambda; using namespace std; int main() { vector > as; max_element(as.begin(), as.end(), bind(&vector::size, _1) < bind(&vector::size, _2)); }