cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
tpe casting - bitwise
tpe casting - bitwise
Jan 11, 2011 at 12:05pm UTC
srinath duraisamy
(2)
Hi, which of the typecasting does a bitwise copy ?
I believe it is cons_cast. is it correct ?
Jan 11, 2011 at 12:45pm UTC
Bazzy
(6281)
const_cast
is used to cast pointers with different const qualifier
reinterpret_cast
will just copy without any checking or anything
http://www.cplusplus.com/doc/tutorial/typecasting/
Jan 11, 2011 at 4:19pm UTC
srinath duraisamy
(2)
Hi,
Thanks for the answer and the link.
Topic archived. No new replies allowed.