I'm having trouble parsing docs like
http://llvm.org/releases/3.3/tools/clang/docs/LanguageExtensions.html
and http://clang.llvm.org/docs/LanguageExtensions.html.

I see there's a 'has_feature(c_atomic)'. Its not quite what I am looking for.

How do I check for the availability of c++ atomic so I can use:

    std::atomic_thread_fence(std::memory_order_acq_rel);

Thanks in advance.
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to