ReferenceCountUpdater.retain

Undocumented in source. Be warned that the author may not have intended to support it.
  1. T retain(T instance)
    class ReferenceCountUpdater(T, string fieldName)
    final
    T
    retain
    if (
    (is(typeof(__traits(getMember, T, fieldName)) == shared(int)))
    )
  2. T retain(T instance, int increment)

Meta