There are various online C++ compiler that lets you to try out newest C++ features. You can choose for different types and versions of compiler like gcc, clang etc. If you don’t want to install these C++ compilers on your machine, and quickly want to test small C++ snippets to check various latest C++ features then online C++ compiler can be a great tool.
After researching a little bit, I really loved the following two:
1. wandbox
URL: https://wandbox.org/
2.Coliru
URL: http://coliru.stacked-crooked.com
wandbox is my first choice to test C++17 features as it is most up-to-date with GCC and Clang versions. Above all it support multiple files which is really handy for dealing with multiple files.
The blog post by Arne Mertz was very helpful to find these great tools.