Virtual Functions in Constructor and Descturctor
- What is the behavior of invoking virtual functions from constructors or destructors?
- You should avoid invoking virtual functions from constructors or destructors.
Virtual Functions in Constructor and Descturctor
Keep Track of Commit id in Code Development
Obtaining the current Git commit ID in C++ code serves several purposes, mainly for debugging, version tracking, and reproducibility.
Memory layout of a process.
Revisit Static Cast and Dynamic Cast
From a low level perspective.
Class Size, Alignment and Padding
Stop defining/declaring member variables in random order.
Exploring vtable internals.
In C++, a dependent name refers to a name (e.g., a type, variable, function, or template) whose meaning depends on a template parameter.
The term “most vexing parse” was first used by Scott Meyers in his 2001 book Effective STL.