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.
Constructor takes some "special values": not_a_date_time, pos_infin, or neg_infin.
time_duration td(pos_infin);
Documentation for boost can be a pain to read...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With