Named

Creates a named tag. The first argument of the constructor becomes a string (the name) and rest doesn't change.

template Named (
T : Tag
) {}

Members

Classes

Named
class Named
Undocumented in source.

Examples

auto tag = new Named!Int("name", 12);
assert(tag.named);
assert(tag.name == "name");
assert(tag.value == 12);
assert(tag == new Int(12));

Meta