Re:Better C – A subset of D Programming Language
by scott_s on Tuesday April 28, 2020 @11:49AM
(#23008184)
Yes, this is what C++ concepts are supposed to solve: https://en.cppreference.com/w/cpp/language/constraints
See also https://tour.dlang.org/tour/en/basics/ranges