Domanda

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

È stato utile?

Soluzione

To answer my own question:

#include <chrono>
std::chrono::time_point<std::chrono::system_clock> timePoint;
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top