I need to convert std::chrono::time_point to and from a long type (integer 64 bits). I´m starting working with std::chrono ...
std::chrono::time_point
long
std::chrono
time_point objects only support arithmetic with other time_point or duration objects.
time_point
duration
You'll need to convert your long to a duration of specified units, then your code should work correctly.