struct Foo {};
constexpr auto v = std::array{Foo{}};}致命错误C1001:内部编译器错误。..。x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\CL.exe‘中的内部编译器错误这是编译器的错误吗?
我的Xcode 9.2可以选择使用: C++或-std=gnu++17编译-std=c++17。clang++ -std=c++17 test.cpp -o test error: invalid value 'c++17' in '-std=c++17'clang++ -std=gnu++17 test.cpp