vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

DictionaryList.addField - multiple declarations

Function DictionaryList.addField

Adds a new field to the map.

void addField (
  string key,
  DictionaryList.ValueType value

The new field will be added regardless of any existing fields that have the same key, possibly resulting in duplicates. Use opIndexAssign if you want to avoid duplicates.

Function DictionaryList.addField

void addField(T) (
  string key,
  T value
if (canAssign!T);

Sönke Ludwig


© 2012-2024 Sönke Ludwig


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.