Re: [Boost-bugs] [Boost C++ Libraries] #3471: microseconds constructor overflows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3471: microseconds constructor overflows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-06 17:34:09


#3471: microseconds constructor overflows
---------------------------+------------------------------------------------
  Reporter: andysem | Owner: andysem
      Type: Patches | Status: new
 Milestone: Boost 1.43.0 | Component: date_time
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords: microseconds
---------------------------+------------------------------------------------

Comment (by andysem):

 (In [80887]) Refs #3471. Precompute the duration conversion coefficient to
 avoid integer overflow. Added a test for integer overflow in the subsecond
 duration constructor.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3471#comment:10>
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