Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiler for C++ 17 [closed]

Tags:

c++17

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?

like image 308
Saurav Sahu Avatar asked Nov 22 '16 11:11

Saurav Sahu


Video Answer


2 Answers

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

like image 129
Vittorio Romeo Avatar answered Oct 16 '22 23:10

Vittorio Romeo


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.

like image 41
dotPoozer Avatar answered Oct 16 '22 22:10

dotPoozer