------- 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 verse where this is > prohibited? > > W.
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." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19894