1032. Tome utility templates need to be concept-constrained

Section: 23.17 [time] Status: NAD Concepts Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [time].

View all issues with NAD Concepts status.

Discussion:

Addresses JP 45 [CD1]

Rep, Period, Clock and Duration don't correspond to concept.

template <class Rep, class Period = ratio<1>> class duration; 
template <class Clock, class Duration = typename Clock::duration> class time_point; 

Make concept for Rep, Period, Clock and Duration. Fix 23.17 [time] and wait_until and wait_for's template parameter at 33 [thread].

[ Summit: ]

We agree that this section needs concepts. We look forward to a paper on this topic. We recommend no action until a paper is available.

Proposed resolution: