tags:

views:

122

answers:

3

I want to know more about the casting (like static cast, dynamic cast, const cast and reinterpret cast) and when do we REALLY need that (real life scenario)? Any references/links/books will be appreciated.

Thanks.

+2  A: 

This article will do.

Marco Mustapic
+1 good article
McAden
Not such a great article. "... the result of the cast is undefined. Borland C++ 4.5, seemingly incorrectly, still performs the conversion, however." There's nothing incorrect about that. If an operation is undefined, anything can happen, including whatever the author of that article was surprised by.
Daniel Earwicker
A: 

I found this reference to be to-the-point and easy to understand.

Jeff L
+3  A: 
bsruth
Best C++ book ever.
rlbond
You know , the point of stackoverflow is to provide concrete answers, not pointing to "rtfm" or other outside directions ;-)
nos
The question asked for links and books, so this answer is correct.
Marco Mustapic