Topic: Defect Report: missing 'typename' in ctype_byname


Author: bop@gmb.dk ("Bo Persson")
Date: Sat, 16 Dec 2006 21:57:25 GMT
Raw View
Section 22.2.1.2 defines the ctype_byname class template. It contains the
line

typedef ctype<charT>::mask   mask;

as this is a dependent type, it should obviously be

typedef typename ctype<charT>::mask   mask;



Bo Persson


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]