Virtual functions, vptr, private constructors, singleton and smart pointers
Filed under PTC
The question
C++ questions: OOP concepts, how virtual functions and the vptr work, private constructors/destructors, singleton, overloading vs overriding, and what a smart pointer is and how to implement one.
No write-up yet. Related questions below have one.
Related PTC questions
Collected from public candidate posts and coding forums. Updated Nov 2026.