[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2009-11-18 Thread jason at gcc dot gnu dot org


--- Comment #14 from jason at gcc dot gnu dot org  2009-11-18 15:51 ---
Created an attachment (id=19035)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19035action=view)
patch

If this were a bug, this would be the fix.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2009-11-18 Thread jason at gcc dot gnu dot org


--- Comment #15 from jason at gcc dot gnu dot org  2009-11-18 21:55 ---
Actually, this is issue 203, so I'll suspend it instead of closing.

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#203


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2009-11-18 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|SUSPENDED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2009-11-17 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-09-10 15:26:47 |2009-11-18 05:24:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2009-11-17 Thread jason at gcc dot gnu dot org


--- Comment #13 from jason at gcc dot gnu dot org  2009-11-18 05:43 ---
5.3.1 [expr.unary.op] paragraph 3:

...If the member is a non-static member of class C of type T, the type of the
result is “pointer to member of class C of type T.” [ Example:
 struct A { int i; };
 struct B : A { };
  // has type int A::*
 ... B::i ...
   — end example ]

So, the type of D::a is the same as the type of B::a, and this is not a bug.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2008-09-10 Thread bangerth at dealii dot org


--- Comment #12 from bangerth at dealii dot org  2008-09-10 15:26 ---
Still happens with gcc version 4.4.0 20080801 (experimental) [trunk revision
138448]


-- 

bangerth at dealii dot org changed:

   What|Removed |Added

   Last reconfirmed|2006-09-03 21:39:06 |2008-09-10 15:26:47
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2007-03-29 Thread bangerth at dealii dot org


--- Comment #11 from bangerth at dealii dot org  2007-03-29 16:13 ---
Still happens with 4.1.2


-- 

bangerth at dealii dot org changed:

   What|Removed |Added

 CC||bangerth at dealii dot org
  Known to fail|3.4.4 4.0.1 4.1.0   |3.4.4 4.0.1 4.1.0 4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950



[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2005-09-09 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-09 
12:42 ---
EDG likes this.

-- 
   What|Removed |Added

  Known to fail||3.4.4 4.0.1 4.1.0
   Last reconfirmed|2005-09-04 18:18:20 |2005-09-09 12:42:23
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950


[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2004-11-26 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-26 
15:34 ---
*** Bug 18681 has been marked as a duplicate of this bug. ***

-- 
   What|Removed |Added

 CC||wolfgang dot roehrl at de
   ||dot gi-de dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=950