Using Xcode 10 beta, although __cplusplus is defined as 201703L, libc++ does not seem to support c++17; for example, std::execution::par_unseq or std::bad_any_cast are undefined.
- is there a way to enable c++17 support in libc++?
- is there a macro I can use to determine if libc++ supports c++17?
After 1 1/2 year, how is the current c++17 library support in XCode. I'm trying to use std::execution but it looks like it doesn't exist.
You can find the current support levels of various features at: en.cppreference.com/w/cpp/compiler_support#cpp17
This header is part of "Standardization of Parallelism TS" "P0024R2" which is not implemented by clang.