ObjectStorage.opApply

Iterate over elements in storage

  1. int opApply(int delegate(Type value) dg)
  2. int opApply(int delegate(const KeyType key, Type value) dg)
    class ObjectStorage(Type = Object, KeyType = string)
    @trusted
    int
    opApply
    (
    scope int delegate
    (
    const KeyType key
    ,
    Type value
    )
    dg
    )

Parameters

dg int delegate
(
const KeyType key
,
Type value
)

the delegate which will do something on each element.

Return Value

Type: int

int

Meta