tag

Add "tagged value" to D for an effective use of std.variant.Algebraic.

Members

Structs

Tag
struct Tag(string tag_, T = void)

Wraps **T** with **tag_**.

Templates

TaggedType
template TaggedType(T)

Gets the underlying type whitch a **Tag** wraps. If **T** is not a **Tag** it will alias itself to **T**.

tag
template tag(string tag_)

Wraps **value** with **tag_**.

Meta