Showing archive results for February 2011

Feb 3, 2011
Post comments count0
Post likes count0

Concurrent Containers

Diego Dagum - MSFT
Diego Dagum - MSFT

A recurrent question (well, one of the many) is about STL containers and whether they are thread safe.Taking Stephan’s words here, the reality is that they aren’t, not as a bug but as a feature: having every member function of every STL container acquiring an internal lock would annihilate performance. As a general purpose, highly reusa...

C++
Feb 1, 2011
Post comments count0
Post likes count0

PDC 2010: Lambdas, Lambdas Everywhere

Diego Dagum - MSFT
Diego Dagum - MSFT

Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize. This talk from last PDC covers what lambda functions are and how to use them effectively, including how l...

C++