Introspect alias name of an aliased type
Rene Zwanenburg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 23 03:59:15 PDT 2016
On Monday, 23 May 2016 at 10:45:49 UTC, ParticlePeter wrote:
> Is there a way to get the alias uint32_t instead ?
Nope. For the compiler uint32_t and uint are the same thing, this
is by design. Typedef can be used to create a separate type with
the same semantics as the type it's based upon:
https://dlang.org/phobos/std_typecons.html#.Typedef
More information about the Digitalmars-d-learn
mailing list