相关疑难解决方法(0)

对 xcode 12 的 c++20 库支持

我可以在 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 库的任何(简单)方法吗?

谢谢

c++ xcode c++20 xcode12 xcode12beta5

5
推荐指数
1
解决办法
3397
查看次数

标签 统计

c++ ×1

c++20 ×1

xcode ×1

xcode12 ×1

xcode12beta5 ×1