Created on 2009-11-21.00:00:00 last changed 162 months ago
Proposed resolution:
Change [time.duration.nonmember] paragraphs 9 and 12:
template <class Rep1, class Period, class Rep2> duration<typename common_type<Rep1, Rep2>::type, Period> operator/(const duration<Rep1, Period>& d, const Rep2& s);9 Returns: duration<CR(Rep1, Rep2), Period>(d) /= s.
template <class Rep1, class Period, class Rep2> duration<typename common_type<Rep1, Rep2>::type, Period> operator%(const duration<Rep1, Period>& d, const Rep2& s);12 Returns: duration<CR(Rep1, Rep2), Period>(d) %= s.
[ 2009-12-24 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]
IMO CR alone is not really defined (it should be CR(Rep1, Rep2)).
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg1389 |
2010-10-21 18:28:33 | admin | set | messages: + msg1388 |
2009-11-21 00:00:00 | admin | create |