From 4624665464164029924
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,5c35b8f8fda351d3
X-Google-Attributes: gidf78e5,public
From: Hyman Rosen <hymie@prolifics.com>
Subject: Re: sizeof ( Result(T::*)(P1,P2,..))
Date: 1999/10/22
Message-ID: <t7r9io4jp3.fsf@calumny.jyacc.com>#1/1
X-Deja-AN: 539143878
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <38094D7B.4A2859B5@yesic.com> <380aa1df.0@202.66.196.251> <7uhtg7$aup$1@nnrp1.deja.com>
X-Original-Date: 21 Oct 1999 15:06:48 -0400
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: ariel.ucs.unimelb.edu.au 940569824 6156 128.250.37.153 (22 Oct 1999 05:23:44 GMT)
Organization: PANIX Public Access Internet and UNIX, NYC
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAOA/01+EDnX0m9pzZAQFT+wF+MMlfr/5EUlw2XNV8O8rQJ9OHHt9sumsd NfLgWZ6Y3bJdYQSSrrwCZm3GaMeyzfyE =AGLY
Mime-Version: 1.0
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.3
NNTP-Posting-Date: 22 Oct 1999 05:23:44 GMT
Newsgroups: comp.std.c++

James.Kanze@dresdner-bank.com writes:
>   "Andrei Alexandrescu" <andrewalex@hotmail.com> wrote:
> > It doesn't depend much, given that you can reinterpret_cast back and
> > forth between any two pointer to member functions, and the result is
> > guaranteed to be correct if you reinterpret_cast'd something and then
> > reinterpret_cast it back.
> 
> Where is this guaranteed in the standard?  And between what and what?

Any two pointer-to-member-function or pointer-to-member-data,
as specified by 5.2.10/9.
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



