From -3550117374359222443
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,5c35b8f8fda351d3,start
X-Google-Attributes: gidf78e5,public
From: "Andrei Alexandrescu" <andrewalex@hotmail.com>
Subject: Re: sizeof ( Result(T::*)(P1,P2,..))
Date: 1999/10/18
Message-ID: <380aa1df.0@202.66.196.251>#1/1
X-Deja-AN: 537380524
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <38094D7B.4A2859B5@yesic.com>
X-Original-Date: Sun, 17 Oct 1999 21:43:55 -0400
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: ariel.ucs.unimelb.edu.au 940224263 8224 128.250.37.153 (18 Oct 1999 05:24:23 GMT)
Organization: -
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAOAqvAOEDnX0m9pzZAQFJggF+LEoSeDcDkg+3hBB8WUHGV5CL4AquqQBy SsD8e7KS1JGXsX7z5e/BDgOUDRE4vLwp =xGZ1
X-MSMail-Priority: Normal
NNTP-Posting-Date: 18 Oct 1999 05:24:23 GMT
Newsgroups: comp.std.c++

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.

Andrei

Nickolay Mladenov <mladenovn@yesic.com> wrote in message
news:38094D7B.4A2859B5@yesic.com...
Hi, Does sizeof ( Result(T::*)(P1,P2,..) ) depend on the types T,
Result, P1, ...? If yes, how? Is there a max value? Nickolay
 moderator's note: HTML encoding deleted. Please do not post html.
Post in plain text. -sdc ] [ 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 ]
---
[ 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              ]



