I need to use new standard library features, more specifically I need to use std::filesystem::directory_iterator. To use the standard library needs to be c++17 or higher. My compiler is using c++17 but it does not recognize the c++17 version of the standard library.
So my question is how to I use the latest standard library??? (I use visual studio and I use the MSVC compiler)