Re:A brief introduction to C++'s model for type- and resourc...
by scott_s on Friday January 15, 2016 @09:55AM
(#10909629)
I know a lot of people say "Boost is awful", but Boost provides the same atomic interfaces: http://www.boost.org/doc/libs/1_60_0/doc/html/atomic.html. Quoting from the introduction:
"Boost.Atomic is a library that provides atomic data types and operations on these data types, as well as memory ordering constraints required for coordinating multiple threads through atomic variables. It implements the interface as defined by the C++11 standard, but makes this feature available for platforms lacking system/compiler support for this particular C++11 feature."
Lambdas would mean I could bin all those structs with bool operator()() for find_if that I have to litter my code with.