Subject: [Boost-bugs] [Boost C++ Libraries] #11041: Add no_unit to duration_style.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-17 19:08:27
#11041: Add no_unit to duration_style.
------------------------------+---------------------
Reporter: rkawulak | Owner: viboes
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
When using Chrono I/O V2, currently there's no easy way to specify that
only the numeric value of a duration without the unit should be output to
a stream (equivalent of duration unit pattern "%v"). It would be useful to
add a new enumerator, say 'no_unit', to duration_style enumeration, and a
corresponding stream manipulator (e.g. 'no_unit_format').
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11041> 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