Topic: Class member name restrictions and "enum class
Author: Pavel Minaev <int19h@gmail.com>
Date: Sat, 22 May 2010 02:25:27 CST Raw View
FCD 9.2[class.mem]/13:
> If T is the name of a class, then each of the following shall have a name different from T:
> ...
> - every enumerator of every member of class T that is an enumerated type;
What about "enum class" enumerated types?
--
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]