c++ - how can I set system time from system_time::time_point -
how can set system time of platform (windows, linux, android) std::chrono::system_time::time_point.
you cannot use std::chrono facilities set time of clocks. best can manufacture std::chrono::system_clock::time_point
represent chosen time, convert time_t
, use along platform's api set clock.
Comments
Post a Comment