ReferenceCountUpdater.retain

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

Meta