616. missing 'typename' in ctype_byname

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

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;