Re: [Boost-bugs] [Boost C++ Libraries] #5322: Explicit default constructed chrono::durations are uninitialized

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5322: Explicit default constructed chrono::durations are uninitialized
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-14 20:26:48


#5322: Explicit default constructed chrono::durations are uninitialized
--------------------------------------+-------------------------------------
  Reporter: jofaber | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: chrono
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords: chrono duration default constructor
--------------------------------------+-------------------------------------
Changes (by viboes):

  * status: new => closed
  * resolution: => fixed

Comment:

 Hi,

 I don't remember when I committed a fix, but the code now is

         duration() : rep_(duration_values<rep>::zero()) { }

 Please reopen the ticket if you have any issues yet.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5322#comment:1>
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:06 UTC