Re: [Boost-bugs] [Boost C++ Libraries] #10995: duration_put::put_value truncates fractional part

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10995: duration_put::put_value truncates fractional part
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-16 23:54:40


#10995: duration_put::put_value truncates fractional part
--------------------------------------+----------------------
  Reporter: rkawulak | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.58.0 | Component: chrono
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+----------------------

Comment (by rkawulak):

 Seems this won't work for types narrower than int_least32_t. (And why
 int_least32_t in particular and not int?) I guess it would be more correct
 to have three SFINAE-enabled trait specialisations for all signed
 integral, all unsigned integral and all floating-point types, promoting
 them to the largest corresponding type.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10995#comment:3>
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:17 UTC