Title
Adopt recommended practice for standard error categories
Status
c++11
Section
[syserr.errcat.objects]
Submitter
BSI

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

Messages

Date: 2010-10-24.22:33:31

Proposed resolution:

Append a new sentence to [syserr.errcat.objects]/1, and append the same sentence to 19.5.1.5/3.

All calls of this function return references to the same object.

Date: 2010-10-24.03:04:13

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Date: 2010-10-24.03:04:13

Addresses GB-76

The C++0x FCD recommends, in a note (see 19.5.1.1/1), that users create a single error_category object for each user defined error category and specifies error_category equality comparsions based on equality of addresses (19.5.1.3). The Draft apparently ignores this when specifying standard error category objects in section 19.5.1.5, by allowing the generic_category() and system_category() functions to return distinct objects for each invocation.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-11-19 19:04:45adminsetstatus: nad editorial -> wp
2010-10-24 22:33:31adminsetmessages: + msg5076
2010-10-24 03:04:13adminsetmessages: + msg4901
2010-08-25 00:00:00admincreate