Opened 10 years ago

Closed 10 years ago

#7182 closed Bugs (fixed)

doc copy&paste mistake in time_duration.is_pos_infinity()

Reported by: schulz@… Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.51.0 Severity: Cosmetic
Keywords: Cc:

Description

This does not really hold:

Returns true if time_duration is positive infinity

time_duration td(neg_infin); td.is_pos_infinity(); --> true

the line

time_duration td(neg_infin);

should be changed to

time_duration td(pos_infin);

Change History (3)

comment:1 by anonymous, 10 years ago

Component: Documentationdate_time
Owner: changed from Matias Capeletto to az_sw_dude

comment:2 by Marshall Clow, 10 years ago

(In [80055]) Fix typo in docs; Refs #7182

comment:3 by Marshall Clow, 10 years ago

Resolution: fixed
Status: newclosed

(In [80057]) Merge doc typo corrections to release; fixes #6595; fixes #7182

Note: See TracTickets for help on using tickets.