Uniq.this

Constructor taking rvalue. Uniqueness is achieve only if there is no aliases of the passed reference.

  1. this(T obj)
    struct Uniq(T)
    this
    (
    T obj
    )
    if (
    is(T : Disposable) &&
    !hasMemberFunc!(T, "release")
    )
  2. this(T obj)
  3. this(Uniq!U u)

Meta