Changing template parameters
Dlearner via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 16 09:27:23 PST 2017
On Monday, 16 January 2017 at 16:08:07 UTC, Rene Zwanenburg wrote:
> On Monday, 16 January 2017 at 15:56:16 UTC, Jack Stouffer wrote:
>> Same way you use any template parameters,
>>
>> auto i = uniform!("(]")(0, 1000);
>
> Also, if the template parameter consists of a single token you
> can omit the parens:
>
> auto i = uniform!"(]"(0, 1000);
Ahhh, thanks a lot!
More information about the Digitalmars-d-learn
mailing list