Does clang++ do threadsafe initialisation of local static variables?
سؤال
Does clang++ do threadsafe initialisation of local static variables?
GCC does, unless you turn it off with the misleadingly named -fno-threadsafe-statics
.
I'm using Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn).
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow