[Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance
--- Additional Comments From smelkov at mph1 dot phys dot spbu dot ru 2005-05-11 05:09 --- Excuse me. The following is unconditionally offtopic, but is there a way to use whole base namespace, say something like template struct A { ... } template struct B : A { using A::* ; or using A::; }; /none of these works, but i think the idea is clear/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21484
[Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-10 17:42 --- And I was right, there was a bug about this already, see PR 14258 which I am going to mark this bug as a dup of. *** This bug has been marked as a duplicate of 14258 *** -- What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21484
[Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-10 16:35 --- Your first example is valid code. And the second. And the third. But the fourth is invalid code and ICC in strict mode also rejects it. Confirmed, based on the first example, this comes down to using semantics which G++ does not always get right, there might be already a bug about this somewhere. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords||rejects-valid Known to fail||2.95.3 3.0.4 3.2.3 3.3.3 ||3.4.0 4.0.0 4.1.0 Last reconfirmed|-00-00 00:00:00 |2005-05-10 16:35:14 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21484