Title
Locale name when the provided Facet is a nullptr
Status
new
Section
[locale.cons]
Submitter
Juan Soulie

Created on 2013-09-04.00:00:00 last changed 4 months ago

Messages

Date: 2022-02-15.00:00:00

[ 2022-02-14; Daniel comments ]

This issue seems to have some overlap with LWG 3676 so both should presumably be resolved in a harmonized way.

Date: 2013-09-04.00:00:00

[locale.cons] p14 ends with:

"[…] If f is null, the resulting object is a copy of other."

but the next line p15 says:

"Remarks: The resulting locale has no name."

But both can't be true when other has a name and f is null.

I've tried it on two implementations (MSVC,GCC) and they are inconsistent with each other on this.

Daniel Krügler:

As currently written, the Remarks element applies unconditionally for all cases and thus should "win". The question arises whether the introduction of this element by LWG 424 had actually intended to change the previous Note to a Remarks element. In either case the wording should be improved to clarify this special case.

History
Date User Action Args
2022-02-14 17:23:53adminsetmessages: + msg12378
2013-09-04 00:00:00admincreate