Subject: [Boost-bugs] [Boost C++ Libraries] #5323: Proposal: Associated type difference_type for chrono::time_point
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-16 19:16:31
#5323: Proposal: Associated type difference_type for chrono::time_point
-------------------------------------+--------------------------------------
Reporter: jofaber | Owner: viboes
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
Similar to other c++ types that have comparable distances, but no fixed
zero, like `T*` or `random_access_iterator<T>`, `chrono::time_point` shall
have `difference_type` as associated type. The difference type of
time_point is its a chrono::duration.
{{{
#!c++
typedef typename duration difference_type;
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5323> 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:05 UTC