This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

616. missing 'typename' in ctype_byname

Section: [locale.ctype.byname] Status: CD1 Submitter: Bo Persson Opened: 2006-12-16 Last modified: 2017-02-03

Priority: Not Prioritized

View all other issues in [locale.ctype.byname].

View all issues with CD1 status.


Section defines the ctype_byname class template. It contains the line

typedef ctype<charT>::mask   mask;

Proposed resolution:

as this is a dependent type, it should obviously be

typedef typename ctype<charT>::mask   mask;