Lurker News
Preferably an elegant snippet rather than an entire (well engineered) codebase.

Comments (380) 116 threads

Show all comments

Showing thread 23 of 116

kmote00#
tl;dr: "Generally, whenever you need the derived class information in the base class, you are probably looking for CRTP."