[C++-sig] Re: Pyste suggestion: handling void * arguments
Niall Douglas
s_sourceforge at nedprod.com
Sat Nov 1 18:09:23 CET 2003
On 31 Oct 2003 at 20:21, David Abrahams wrote:
> >> I don't know, "undefined behaviour" is never good. Dave, what's
> >> your opinion on this?
> >
> > It's no more undefined than the is_polymorphic trick in type_traits.
>
> There is absolutely no undefined behavior in is_polymorphic
Where in the C++ standard does it state that a class with a virtual
function table shall be bigger than one without?
While the chances are that the above will remain true, it can't be
guaranteed and thus is strictly speaking undefined behaviour.
Cheers,
Niall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 208 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20031101/1b60b52f/attachment.pgp>
More information about the Cplusplus-sig
mailing list