I'm a developer at C++ Shanghai team. I'm interested in everything related to C++
March 2009 - Posts
-
Object slicing often happens when you pass the object by value. Compiler will do implicitly conversion from derived to base for you without any warning message. If you want to detect object slicing, you're on your own. However, template can help you. Read More...
|