How does one set boost::posix_time::duration to positive infinite? The class contains an is_pos_infinite function, which retrieves duration::tick_type::pos_infinite for comparison, but I cannot work out how to retrieve this value and use it to set the duration.
How does one set boost::posix_time::duration to positive infinite? The class contains an is_pos_infinite function,
Share
Constructor takes some “special values”: not_a_date_time, pos_infin, or neg_infin.
Documentation for boost can be a pain to read…