LWN.net Logo

Day: GNOME OS

Day: GNOME OS

Posted Aug 10, 2012 11:09 UTC (Fri) by hummassa (subscriber, #307)
In reply to: Day: GNOME OS by jwakely
Parent article: Day: GNOME OS

You can't c-cast from a POD type to another, but you can c-cast from a pointer-to-any-type to another (even if you have to cast to void* in the middle).


(Log in to post comments)

Day: GNOME OS

Posted Aug 10, 2012 11:18 UTC (Fri) by jwakely (subscriber, #60262) [Link]

Was mathstuf's statement "it acts differently based on whether the template type is POD or not" talking about casting pointers?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds