[Boost-bugs] [Boost C++ Libraries] #12101: Wrong example for boost::gregorian::date:: is_pos_infinity

Subject: [Boost-bugs] [Boost C++ Libraries] #12101: Wrong example for boost::gregorian::date:: is_pos_infinity
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-30 08:48:17


#12101: Wrong example for boost::gregorian::date:: is_pos_infinity
------------------------------+---------------------------
 Reporter: anonymous | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.60.0 | Severity: Cosmetic
 Keywords: |
------------------------------+---------------------------
 http://www.boost.org/doc/libs/1_60_0/doc/html/date_time/gregorian.html

 bool is_pos_infinity() const
 Returns true if date is positive infinity

 date d(neg_infin); // should be positive
 infinity here
 d.is_pos_infinity(); // --> true

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12101>
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:19 UTC