Compound.opIndexAssign

Sets the value using the named tag's name as the index.

  1. void opIndexAssign(T value, string name)
  2. void opIndexAssign(Tag tag)
    class Compound
    pure nothrow @safe
    void
    opIndexAssign

Examples

auto compound = new Compound("");
compound[] = new String("test", "value");
assert(compound["test"] == "value");

Meta