[Bug c++/19894] pointer-to-void member not rejected in template

2005-06-08 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-08 11:09 --- Subject: Bug 19894 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-08 11:09:13 Modified files: gcc/cp : ChangeLog parser.c pt.c

[Bug c++/19894] pointer-to-void member not rejected in template

2005-06-08 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-08 11:12 --- Fixed in mainline (will become GCC 4.1.0). -- What|Removed |Added

[Bug c++/19894] pointer-to-void member not rejected in template

2005-06-07 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-07 19:39 --- No, it's really a bug. In 3.9.2 [basic.compound] we have: Compound types can be constructed in the following ways: [...] - pointers to void or objects or functions (...) of a given type, [...]

[Bug c++/19894] pointer-to-void member not rejected in template

2005-05-15 Thread donaldc at csgsolar dot com dot au
--- Additional Comments From donaldc at csgsolar dot com dot au 2005-05-16 03:06 --- The third paragraph of [8.3.3] aka [dcl.mptr] says: A pointer to member shall not point to a static member of a class (9.4), a member with reference type, or cv void. It can be equal to null,

[Bug c++/19894] pointer-to-void member not rejected in template

2005-02-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-14 15:05 --- Quite naively, I would say that this could even be ok, just that there will never be a member variable the address of which one could initialize this pointer-to-member with. Do you have chapter and

[Bug c++/19894] pointer-to-void member not rejected in template

2005-02-11 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-02-11 17:44 --- Quite naively, I would say that this could even be ok, just that there will never be a member variable the address of which one could initialize this pointer-to-member with. Do you have chapter and verse