static_cast

Erik Max Francis max at alcyone.com
Wed Mar 10 04:53:55 EST 2004


Marc Schellens wrote:

> Can somebody tell me when exactly a static_cast is invalid,
> and when not?

It's valid when a well-defined conversion exists, but not when a
reinterpret_cast or const_cast would be required.

But then, this is comp.lang.python :-).

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ Procrastination is the thief of time.
    -- Edward Young



More information about the Python-list mailing list