Re:Better C – A subset of D Programming Language
by FeepingCreature on Tuesday April 28, 2020 @10:19AM
(#23007205)
No such internal type exists. The range interface is purely a library feature. The problem is that D has no way to include a type constraint as a part of the function type, at present. Something like out template contracts would do it probably.
It's simply a failure of D the language/compiler (and a huge anti-pattern) to not expose internal types in a way that can be displayed to the programmer.