More rtti queries

Nathan Sidwell sidwell at codesourcery.com
Wed Jan 26 11:03:13 UTC 2000


Jim Dehnert wrote:
> 
> More feedback from the meeting:
> Concern  remains that we may need to deal with pointers to ref
> members.
[dcl.mptr] (8.3.3)/3
	'A pointer to member shall not point to ... a member with
	reference type'
Wouldn't such a thing be a language extension, could this be documented?

> I have fixed the spelling.  Someone at the meeting claims that the
> standard uses `pointer to member' to mean both `pointer to member data'
> and `pointer to member function'.
Yes, they are correct. [dcl.mptr]/2 gives such an example, which I'd
missed. I'd got misled by [basic.compound]/3 which talks about (non-member)
pointers to object.

thanks for the clarifications

nathan

-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan at acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan at cs.bris.ac.uk




More information about the cxx-abi-dev mailing list