Y
Hacker News
new
|
ask
|
show
|
jobs
by
snak
2429 days ago
That's awesome. I ran into this situation in C#, and looks like it is useful in some cases.
https://zpbappi.com/curiously-recurring-template-pattern-in-...
1 comments
kmote00
2421 days ago
tl;dr: "Generally, whenever you need the derived class information in the base class, you are probably looking for CRTP."
link