norman's blog

Notes of an amnesiac.
Never stop thinking.
Find an aesthetic description.

Thursday, August 13, 2009

cast in c++

static_cast<>():
dynamic_cast<>():
reinterpret_cast<>(): Allows any pointer to be converted into any other pointer type. Also allows any integral type to be converted into any pointer type and vice versa.
const_cast<>():

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home