Is there a way to get a template’s parameters and constraints?

Salih Dincer salihdb at hotmail.com
Fri Jan 20 18:14:11 UTC 2023


On Friday, 20 January 2023 at 17:15:31 UTC, Quirin Schroll wrote:
> For what I want, `constraintsOf` may expect every template 
> parameter to be a type and to have a constraint.


If I'm not mistaken, the following will help:

https://dlang.org/phobos/std_range_primitives.html

SDB at 79=


More information about the Digitalmars-d-learn mailing list