Include < experimental/filesystem >

Hi,

what do I have to do to be able to include the < experimental/filesystem > library in one of my root macros?
http://en.cppreference.com/w/cpp/header/experimental/filesystem

The file system library comes with c++17:
http://en.cppreference.com/w/cpp/experimental/fs

There is a CMake flag to enable C++17 support (this needs to be done when building root):

option name default value description

cxx17 OFF Build using C++17 compatible mode, requires gcc > 7.1.x or clang

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.