vibe.d beta banner
get vibe.d
0.10.1

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

TaggedUnion.set - multiple declarations

Function TaggedUnion.set

Sets a void value of the specified kind.

void set(TaggedUnion.Kind kind)()
if (isUnitType!(FieldTypes[kind]));

Function TaggedUnion.set

Sets a new value of the specified kind.

ref TaggedUnion.FieldTypes[kind] set(TaggedUnion.Kind kind) (
  TaggedUnion.FieldTypes[kind] value
)
if (!isUnitType!(FieldTypes[kind]));
Authors

Sönke Ludwig

Copyright

Copyright 2015-2019, Sönke Ludwig.

License

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