268. Typo in locale synopsis

Section: 28.3.3.1 [locale] Status: CD1 Submitter: Martin Sebor Opened: 2000-10-05 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [locale].

View all issues with CD1 status.

Discussion:

The synopsis of the class std::locale in 22.1.1 contains two typos: the semicolons after the declarations of the default ctor locale::locale() and the copy ctor locale::locale(const locale&) are missing.

Proposed resolution:

Add the missing semicolons, i.e., change

    //  construct/copy/destroy:
        locale() throw()
        locale(const locale& other) throw()

in the synopsis in 22.1.1 to

    //  construct/copy/destroy:
        locale() throw();
        locale(const locale& other) throw();