Mixin supplying a destructor for Replaceable<T> that matches the destructibility of T.
Declared in <folly/Replaceable.h>
template<
class T,
bool = std::is_destructible<T>::value,
bool = std::is_trivially_destructible<T>::value>
struct dtor_mixin;
| Name |
|---|
dtor_mixin<T, true, false> |
dtor_mixin<T, true, true> |
dtor_mixin<T, false, A> |
| Name | Description |
|---|---|
Replaceable | Wraps a T that can be replaced in place without allocation or indirection. |