Search code examples
gccc++11mingw32c++-chrono

can't find chrono namespace using mingw32 and Eclipse CDT


I want to use system_clock::time_point, but the compiler can't seem to find this. I am including header.


Solution

  • To answer my own question:

    #include <chrono>
    std::chrono::time_point<std::chrono::system_clock> timePoint;