#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 , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 11 years ago
| Milestone: | To Be Determined → Boost 1.47.0 |
|---|
Note:
See TracTickets
for help on using tickets.

Fixed at Changeset #70074