Setting.setDef - multiple declarations

Function Setting.setDef

sets value for array item by integer index if not already present

Prototype

T setDef(T)(
  T value,
  int index
);

Function Setting.setDef

sets value for object item by string key

Prototype

T setDef(T)(
  T value,
  string key
);

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0