ControlBlockDeduction

This template deduce ControlType shared qualifier in SharedPtr, RcPtr and UniquePtr.

If Type is shared then ControlType is shared too (atomic counting).

Members

Aliases

ControlBlockDeduction
alias ControlBlockDeduction = impl
Undocumented in source.
impl
alias impl = Select!(is(Type == shared), shared(ControlType), ControlType)
Undocumented in source.

Imports

Select (from std.traits)
public import std.traits : Select;
Undocumented in source.

Meta