Title
Specify whether high_resolution_clock is a distinct type or a typedef
Status
nad
Section
[time.clock.hires]
Submitter
INCITS

Created on 2010-08-25.00:00:00 last changed 170 months ago

Messages

Date: 2010-11-16.14:08:46

[ 2010 Batavia ]

This is not a defect. Threre are a number of places in the standard where we allow implentations to choose their preferred technique, the most obvious example being the iterator/const_iterator types of set.

Typically, this means it is not portable to declare function overloads that differ only in their use of these types.

Date: 2010-10-26.12:06:53

[ Resolution proposed in ballot comment ]

Require that it be a distinct class type.

Date: 2010-10-24.03:04:13

Addresses US-112

What it means for high_resolution_clock to be a synonym is undefined. If it may or may not be a typedef, then certain classes of programs become unportable.

History
Date User Action Args
2010-11-16 14:08:46adminsetmessages: + msg5371
2010-11-16 14:08:46adminsetstatus: open -> nad
2010-10-26 12:06:53adminsetmessages: + msg5145
2010-10-24 03:04:13adminsetmessages: + msg4912
2010-08-25 00:00:00admincreate