vibe.d beta banner
get vibe.d
0.8.5

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

TaggedUnion.value - multiple declarations

Function TaggedUnion.value

Accesses the contained value by reference.

inout ref inout(TaggedUnion.FieldTypes[kind]) value(TaggedUnion.Kind kind)() @property;

The specified kind must equal the current value of the this.kind property. Setting a different type must be done with set or opAssign instead.

See Also

set, opAssign

Function TaggedUnion.value

Accesses the contained value by reference.

inout ref inout(T) value(T)() @property;

The specified type T must equal the type of the currently set value. Setting a different type must be done with set or opAssign instead.

See Also

set, opAssign

Authors

Sönke Ludwig

Copyright

Copyright 2015-2019, Sönke Ludwig.

License

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