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: 30.4.2.3 [locale.ctype.byname] Status: CD1 Submitter: Bo Persson Opened: 2006-12-16 Last modified: 2016-01-28

Priority: Not Prioritized

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

View all issues with CD1 status.

Discussion:

Section 22.2.1.2 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;