This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC 2.95.2 - Low Priority - References to members not implemented
- To: gcc-bugs at gcc dot gnu dot org
- Subject: GCC 2.95.2 - Low Priority - References to members not implemented
- From: root <philippeb at corel dot com>
- Date: Mon, 02 Oct 2000 15:42:21 -0700
Problem:
The compiler supports references to global functions but not members
variables nor member functions:
struct A
{
void f() {}
void (A::& pf)();
A():pf(A::f) {}
} a;
Reports:
...: parse error before `&'
Version:
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
Will it be supported eventually?
Thank you.
begin:vcard
n:Bouchard;Philippe A.
x-mozilla-html:FALSE
org:Corel Linux
adr:;;;;;;
version:2.1
title:Software Engineer
x-mozilla-cpt:;0
fn:Philippe A. Bouchard
end:vcard