[LLVMdev] C++14 support for shared_mutex

Edward Diener eldlistmailingz at tropicsoft.com
Mon Jun 8 17:53:11 PDT 2015


How can I tell at compile time through predefined macros whether libc++ 
includes/supports the C++14 header file shared_mutex ?

Given that I have identified that libc++ is being used, will this work ? :

#if __cplusplus >= 201402
// Header file shared_mutex supported
#endif

or do I need to check something else ?




More information about the llvm-dev mailing list