This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69023] bitset whose name is used in constant-expression rejected
- From: "rs2740 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Dec 2015 12:51:49 +0000
- Subject: [Bug c++/69023] bitset whose name is used in constant-expression rejected
- Auto-submitted: auto-generated
- References: <bug-69023-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69023
TC <rs2740 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rs2740 at gmail dot com
--- Comment #3 from TC <rs2740 at gmail dot com> ---
[basic.scope.class]/1, item 2:
A name N used in a class S shall refer to the same declaration in its context
and when re-evaluated in the completed scope of S. No diagnostic is required
for a violation of this rule.