I need to use a global timestamp (std::chrono::high_resolution_clock::now()) in my c++ program. I declared it in the header file Header.h:
#include
How is auto supposed to deduce the type of start? You need to declare the type
auto
start
extern std::chrono::high_resolution_clock::time_point start;