2912. Add a deduction guide for class template duration

Section: 23.17.5 [time.duration] Status: Resolved Submitter: United States Opened: 2017-02-03 Last modified: 2017-03-20

Priority: Not Prioritized

View all other issues in [time.duration].

View all issues with Resolved status.

Discussion:

Addresses US 144

Proposed change:

Add to <chrono> synopsis:

template <class Rep, class Period>
duration(const Rep &) -> duration<Rep>;

[2017-02-21; via email]

This should be addressed by P0433R2.

[2017-03-12, post-Kona]

Resolved by P0433R2.

Proposed resolution:

This wording is relative to N4618.

  1. Add to the synopsis of <chrono>:

    template <class Rep, class Period> duration(const Rep &) -> duration<Rep>;