vibe.d beta banner
get vibe.d

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

Function TaggedUnion.toString

Converts the contained value to a string.

void toString(W) (
  ref W w
) const
if (isOutputRange!(W, char));

The format output by this method is "(kind: value)", where "kind" is the enum name of the currently stored type and "value" is the string representation of the stored value.


Sönke Ludwig


Copyright 2015-2019, Sönke Ludwig.

License, Boost License 1.0.