From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17667 invoked by alias); 14 Feb 2005 15:06:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17611 invoked by uid 48); 14 Feb 2005 15:06:00 -0000 Date: Mon, 14 Feb 2005 19:47:00 -0000 Message-ID: <20050214150600.17610.qmail@sourceware.org> From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050211020409.19894.reichelt@gcc.gnu.org> References: <20050211020409.19894.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19894] pointer-to-void member not rejected in template X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg01451.txt.bz2 List-Id: ------- 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