This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Concepts status.

1032. Tome utility templates need to be concept-constrained

Section: 29 [time] Status: NAD Concepts Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-01-28

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 29 [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: