Extracting Params of Templated Type

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Thu Apr 3 22:18:00 PDT 2014


On 4/4/2014 1:02 AM, Meta wrote:
>
> alias TemplateArgs(T: Foo!U, U) = U;
>
> void main()
> {
>      assert(is(TemplateArgs!MyFoo == int));
> }

Ahh thanks.




More information about the Digitalmars-d-learn mailing list