Y
Hacker News
new
|
ask
|
show
|
jobs
by
wdroz
804 days ago
In C++, you can use C++20 concepts[0].
[0] --
https://en.cppreference.com/w/cpp/language/constraints