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