Compiler for C++ 17 [closed]

梦想的初衷 提交于 2019-12-23 09:58:01

问题


Is there any online place where I can run a C++17 code, as I want to learn the new features of C++ 17. I tried running it on inbuilt Coliru compiler GCC 6.1 C++ 17. But it is unfortunately not compiling.

Is the compiler for C++17 not yet out, I searched it everywhere on Internet?


回答1:


wandbox supports g++ 7.0 SVN and clang++ 4.0 SVN versions, which have (experimental) C++17 feature support.

  • gcc C++1z support

  • clang C++1z support




回答2:


For most of the compilers c++17 isn't fully implemented yet. You can try using clang with flag -std=c++1z.
List of all availible functionalities can be found at http://clang.llvm.org/cxx_status.html.



来源:https://stackoverflow.com/questions/40740251/compiler-for-c-17

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!