logoalt Hacker News

pjmlpyesterday at 9:21 PM1 replyview on HN

Nice overview, it misses other kinds of dispatch though.

With concepts, templates and compile time execution, there is no need for CRTP, and in addition it can cover for better error messages regarding what methods to dispatch to.


Replies

dalvrosayesterday at 9:47 PM

Fair. New C++ standards are providing great tools for compile-time everything

But still CRTP is widely used in low-latency environments :)