This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 2.95.2 - Low Priority - References to members not implemented
- To: root <philippeb at corel dot com>
- Subject: Re: GCC 2.95.2 - Low Priority - References to members not implemented
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Mon, 2 Oct 2000 15:50:49 -0400
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <39D90F4D.80C08818@corel.com>
On Mon, Oct 02, 2000 at 03:42:21PM -0700, root wrote:
> Problem:
> The compiler supports references to global functions but not members
> variables nor member functions:
[...]
> Will it be supported eventually?
Quoting from hte C++ Standard:
[8.3.3]/3: There is no "reference-to-member" type in C++.
So, this "problem" is not a bug, and it probably won't be implemented.
(It doesn't really provide anything extra.)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.