So I'm trying to make sense of file_time_type between C++17 and C++20.
Clicking on the "Run this code" takes me to the coliru compiler tester.
Compiling with GCC11.1(C++20) mode, all is well.
But using GCC11.1(C++17), I get
1 2 3 4 5 6 7
main.cpp: In lambda function:
main.cpp:15:26: error: 'std::chrono::file_clock' has not been declared
15 | std::chrono::file_clock::to_sys(ftime));
| ^~~~~~~~~~
Which seems fair enough, file_clock is new in C++20.
However, I'm baffled as to what to use in it's place to make it valid for C++17.