Is there Typeof template ?

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 05:59:05 PDT 2016


On Friday, October 28, 2016 10:52:05 Temtaime via Digitalmars-d-learn wrote:
> Hi !
> Tried to find
> alias Typeof(alias A) = typeof(A);
> or something, but failed.
>
> Are there something or should I create a PR to phobos?
> Thanks

If it were in Phobos, I'd expect it to be in std.meta, and it's not there.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list