Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#5323 closed Feature Requests (fixed)

Proposal: Associated type difference_type for chrono::time_point

Reported by: Joachim Faulhaber Owned by: viboes
Milestone: Boost 1.47.0 Component: chrono
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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.

typedef typename duration difference_type;

Change History (2)

comment:1 by viboes, 12 years ago

Resolution: fixed
Status: newclosed

Fixed at Changeset #70074

comment:2 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.47.0
Note: See TracTickets for help on using tickets.