The OpenD Programming Language

HashMap.opApply

Support for foreach(key, value; aa) { ... } syntax;

  1. int opApply(int delegate(const ref K, ref V) del)
  2. int opApply(int delegate(const ref K, const ref V) del)
    struct HashMap(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
    const
    int
    opApply
    (
    int delegate
    (
    const ref K
    ,
    const ref V
    )
    del
    )
  3. int opApply(int delegate(ref V) del)
  4. int opApply(int delegate(const ref V) del)

Meta