It is mentioned in C++ FAQ site — “larger derived class objects get sliced when passed by value as a base class object”, what does slicing mean? Any sample to demonstrate?
http://www.parashift.com/c++-faq-lite/value-vs-ref-semantics.html#faq-31.8
I am using VSTS 2008 + native C++ as my development environment.
Quoting this lecture: