vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Alias TaggedUnion.FieldTypeByName

struct TaggedUnion
{
  // ...
  alias FieldTypeByName(string name) = TaggedUnion.FieldTypes[__traits function(getMember, TaggedUnion.Kind, name)];
  // ...
}
Authors

Sönke Ludwig

Copyright

Copyright 2015-2019, Sönke Ludwig.

License

www.boost.org/LICENSE_1_0.txt, Boost License 1.0.