03-Jan-2013 12:39, Michal Minich пишет:
Newly discovered changes in C++11 on using const and mutable for thread
safety
http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank
So now const is retrofitted as thread-safe. Again by convention.
And that is true only because of a statement in std library
expectations. This shift is great but just ... by convention.
Looks like this channel got some updates on C++ and beyond 2012. I've
found this one to be far more revealing:
http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C
--
Dmitry Olshansky