我可以在 xcode 12 中使用 c++20 库吗?(xcode 12 beta 5,clang 版本 10.0.0)。
所以在 xcode 构建设置中,而不是
// in xcode build settings, "c++ standard library"
CLANG_CXX_LIBRARY = libc++
Run Code Online (Sandbox Code Playgroud)
也许使用类似的东西(不起作用 => clang err: invalid library name)
CLANG_CXX_LIBRARY = libc++20 // eg. libc++20 & libc++2a are invalid names
Run Code Online (Sandbox Code Playgroud)
我已经设置(通过提供 c++20语言支持工作,但不提供 c++20库支持)
// in xcode build settings, "c++ language dialect"
CLANG_CXX_LANGUAGE_STANDARD = c++2a // ok but does not provide c++20 library
Run Code Online (Sandbox Code Playgroud)
我知道 c++20 库尚未完成/正式发布。
题:
您知道在 xcode 12 中使用(初步)c++20 库的任何(简单)方法吗?
谢谢