[Boost-bugs] [Boost C++ Libraries] #7182: doc copy&paste mistake in time_duration.is_pos_infinity()

Subject: [Boost-bugs] [Boost C++ Libraries] #7182: doc copy&paste mistake in time_duration.is_pos_infinity()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-27 13:21:08


#7182: doc copy&paste mistake in time_duration.is_pos_infinity()
------------------------------------+---------------------------------------
 Reporter: schulz@… | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.51.0 | Severity: Cosmetic
 Keywords: |
------------------------------------+---------------------------------------
 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);

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7182>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC