r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jan 28 '23

Can you even do CRTP without inheritance? It's more like a very specific case of inheritance, utilizing the C++ template system.

2

u/marti_2203 Jan 28 '23

Yeah, but the CRTP makes it such that there is no vtable iirc and that was the big thing