https://issues.dlang.org/show_bug.cgi?id=13291

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
(In reply to Andrei Alexandrescu from comment #0)
> there's no way to instantiate and fire a unittest for each instantiation of a 
> function template.

This is actually not true (also pointed out by Meta on the forum):

template fun(T){
    void fun(T arg){
        ... stuff ...
    }
    unittest{
        ... unittest for each T instantiated ...
    }
}

I.e. this enhancement suggests a shorthand syntax.

--

Reply via email to