c++ - Posix_Time Time Duration Doesn't have all the functions -
i trying use posix_time::time_duration find total number of milliseconds of time. looked @ code online, , found this: how print current time (with milliseconds) using c++ / c++11.
however, reason posix_time::time_duration doesn't have access total_milliseconds function, or several of functions (like is_negative, invert_sign, etc). wondering why case , how can fix it. included header file, #include , in code. have boost libraries installed on computer.
thanks.
Comments
Post a Comment