Extracting Params of Templated Type

Meta jared771 at gmail.com
Fri Apr 4 06:22:09 PDT 2014


On Friday, 4 April 2014 at 07:23:51 UTC, Andrej Mitrovic wrote:
> On 4/4/14, Meta <jared771 at gmail.com> wrote:
>> alias TemplateArgs(T: Foo!U, U) = U;
>
> It's also in std.traits, TemplateArgsOf, which is more complete.

I thought I remembered that being in std.traits, but I couldn't 
find it after quickly skimming. I must've glanced over it.


More information about the Digitalmars-d-learn mailing list