Van's House

I'm a developer at C++ team. I'm interested in everything related to C++

March, 2009

  • Van's House

    C++ Template Trick: Detecting Object Slicing

    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...
Page 1 of 1 (1 items)