Hacker News new | ask | show | jobs
by pjmlp 1032 days ago
Since C++20 that DbI is possible in C++, although not as nice as D, or as Andrei would like it to be.

By making use of constexpr if and concepts.

Yet another example of how D has missed to mainstream languages, that eventually got a good enough alternative, with a much rich and mature ecosystem.