Compound.opIndex

Gets the array of named tags (without the keys). To get the associative array of named tags use the property value.

  1. Tag[] opIndex()
    class Compound
    pure nothrow @safe
    Tag[]
    opIndex
    ()
  2. Tag opIndex(string name)

Examples

Compound compound = new Compound([new Byte(1), new Int(2)]);
assert(compound[] == compound.value.values);

Meta