Monthly Archives: December 2010

ALM for C++ in Visual Studio 2010 by Ale Contenti during TechEd Europe 2010

I liked this talk: http://www.msteched.com/2010/Europe/DPR202-LNC  

Posted in Uncategorized | Leave a comment

Using Lambdas instead of Functors with STL

I prefer this style: int local; … auto less = [&local] (const int & l, const int & r) {    return l + r < local; }; multiset<int, decltype(less)> c(less); to: int local; … struct less {    int & L;    bool operator () (const int & l, const int & r) {       return l + r < L;    } } l = {local}; multiset<int, less> c(l); What do you think?

Posted in Computers and Internet | 2 Comments