391. non-member functions specified as const

Section: [conversions.character] Status: CD1 Submitter: James Kanze Opened: 2002-12-10 Last modified: 2021-06-06 18:38:24 UTC

Priority: Not Prioritized

View all issues with CD1 status.


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 30.3 [locales].

Proposed resolution:

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


Fixes an obvious typo