Methods.pool

Pools a new entry by the given value. If no such pool entry exists then it is constructed, stored and returned, else the existing entry is returned.

  1. EntryType pool(ValueType v)
    mixintemplate Methods(EntityType)
    static if(isClassType!(EntityType))
    EntryType
    pool
    (
    ValueType v
    )
  2. EntryType* pool(ValueType v)

Parameters

v ValueType

the key to pool by

Return Value

Type: EntryType

the pooled entry (as an EntryType)

Meta