我正在嘗試在 Xcode 13.1 中使用 c++20 庫
#include <ranges>
我已經設置Apple Clang - Languages - C++
為-std=c++20
和編譯器默認值,但它仍然拋出'ranges' file not found
.
根據這個功能列表
https://en.cppreference.com/w/cpp/compiler_support/20
Clang 13 聲稱“部分”支持,而 Apple Clang 似乎沒有。
(不要被版本號混淆。Apple 13.1 不必晚於 LLVM 13.0)。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句