License:
see license.txt

  • interface Multi (V);
  • The Multi interface defines functions for objects that can have multiple instances of the same value.

  • uint count (V v);
  • count the number of elements that match the given value

  • Multi!(V) removeAll (V v);
  • remove all instances of the given element

  • Multi!(V) removeAll (V v, ref uint numRemoved);
  • remove all instances of the given element.

    sets numRemoved to number of elements removed.

    (C) 2008 by Steven Schveighoffer. All rights reserved :: page rendered by CandyDoc