vibe.d beta banner
get vibe.d
0.10.0

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

Module taggedalgebraic.taggedunion

Generic tagged union and algebraic data type implementations.

Structs

NameDescription
TaggedUnion Implements a generic tagged union type.
This Special type used as a placeholder for U within the definition of U to enable self-referential types.
Void Convenience type that can be used for union fields that have no value (void is not allowed).

Templates

NameDescription
tryVisit The same as visit, except that failure to handle types is checked at runtime.
visit Dispatches the value contained on a TaggedUnion to a set of visitors.

Manifest constants

NameTypeDescription
isUnitType

Aliases

NameTypeDescription
TypeEnum UnionFieldEnum!U
TypeOf ReplaceType!(This,U,FT) Maps a kind enumeration value to the corresponding field type.
Authors

Sönke Ludwig

Copyright

Copyright 2015-2019, Sönke Ludwig.

License

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