logoalt Hacker News

pjmlptoday at 1:52 PM0 repliesview on HN

You use if constexpr with requires expressions, to do poor man's reflection on where to dispatch, and eventually with C++26, you do it with proper reflection support.