Hacker News new | ask | show | jobs
by scott_s 2249 days ago
Yes, this is what C++ concepts are supposed to solve: https://en.cppreference.com/w/cpp/language/constraints