News for hackers. Stuff that matters.
Re:A brief introduction to C++'s model for type- and resourc... by 72deluxe on Friday January 15, 2016 @08:54AM (#10909271)
I would agree with this. I am writing C++03 at work due to lame compilers I am forced to use on Windows, and I really miss little things like std::atomic.

Lambdas would mean I could bin all those structs with bool operator()() for find_if that I have to litter my code with.

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."

Re:A brief introduction to C++'s model for type- and resourc... by 72deluxe on Friday January 15, 2016 @11:54AM (#10910457)
Thanks for the suggestion, much appreciated.