j
k
j a
j l
Howard Hinnant wrote:
I just ran this test in C++03 mode: #include <iostream> int main() { std::cout << __c11_atomic_is_lock_free(1) << '\n'; std::cout << __has_feature(c_atomic) << '\n'; } It outputs: 1 0
I just ran this test in C++03 mode:
#include <iostream>
int main() { std::cout << __c11_atomic_is_lock_free(1) << '\n'; std::cout << __has_feature(c_atomic) << '\n'; }
It outputs:
1 0
What does __has_extension(c_atomic) say?
Back to the thread
Back to the list