Answer by freakish for std::atomic_flag initialization result
According to ATOMIC_FLAG_INIT spec:This is the only way to initialize std::atomic_flag to a definite value: the value held after any other initialization is unspecified.
View Articlestd::atomic_flag initialization result
Is is really necessery to initialize std::atomic_flag in this way:std::atomic_flag flag = ATOMIC_FLAG_INIT;In my opinion it should have same result:std::atomic_flag flag;flag.clear();I have read all...
View Article
More Pages to Explore .....