This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
Section: 28.3.4 [locale.categories] Status: NAD Submitter: Matt Austern Opened: 2003-11-02 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [locale.categories].
View all issues with NAD status.
Discussion:
The following facets classes have no copy constructors described in the standard, which, according to the standard, means that they are supposed to use the compiler-generated defaults. Default copy behavior is probably inappropriate. We should either make these classes uncopyable or else specify exactly what their constructors do.
ctype_base
ctype
ctype_byname
ctype<char>
ctype_byname<char>
codecvt_base
codecvt
codecvt_byname
num_get
num_put
numpunct
numpunct_byname
collate
collate_byname
time_base
time_get
time_get_byname
time_put
time_put_byname
money_get
money_put
money_base
moneypunct
moneypunct_byname
messages_base
messages
messages_byname
Proposed resolution:
Rationale:
The copy constructor in the base class is private.