Specifying eponymous template "internal parameter"
Simen Kjaeraas
simen.kjaras at gmail.com
Tue Jan 8 03:09:42 PST 2013
On 2013-16-08 11:01, monarch_dodra <monarchdodra at gmail.com> wrote:
> On Tuesday, 8 January 2013 at 09:59:26 UTC, Simen Kjaeraas wrote:
>> alias fun2 = fun!("++a", "--a");
>> auto m = fun2!(ubyte)(1);
>
> Nice!
>
> And now, for the 1M$ question: Can I rely on this behavior, or is this
> an accepts invalid...?
You can rely on it.
--
Simen
More information about the Digitalmars-d-learn
mailing list