391. non-member functions specified as const

Section: 25.3.3.2 [conversions] Status: CD1 Submitter: James Kanze Opened: 2002-12-10 Last modified: 2016-02-10

Priority: Not Prioritized

View all issues with CD1 status.

Discussion:

The specifications of toupper and tolower both specify the functions as const, althought they are not member functions, and are not specified as const in the header file synopsis in section 25.3 [locales].

Proposed resolution:

In 25.3.3.2 [conversions], remove const from the function declarations of std::toupper and std::tolower

Rationale:

Fixes an obvious typo