From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Sebor To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3333: Using declaration doesn't work with classes. Date: Tue, 26 Jun 2001 09:26:00 -0000 Message-id: <20010626162601.19300.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg01085.html List-Id: The following reply was made to PR c++/3333; it has been noted by GNATS. From: Martin Sebor To: aroach@stoic.electriceyeball.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/3333: Using declaration doesn't work with classes. Date: Tue, 26 Jun 2001 10:25:40 -0600 aroach@stoic.electriceyeball.com wrote: > > >Number: 3333 > >Category: c++ > >Synopsis: Using declaration doesn't work with classes. ... > >Description: > Using declaration should be usable for classes as well as namespaces in > most cases, but GCC restricts most uses to namespaces. 7.3.3, p6: A using-declaration for a class member shall be a member-declaration. You can't declare a class member in namespace scope so the test case is ill-formed. Regards Martin