Mixin supplying the copy‐assignment operator for Replaceable<T> that matches the corresponding properties of T.

Synopsis

Declared in <folly/Replaceable.h>

template<
    class T,
    bool = (std::is_destructible<T>::value) && (std::is_copy_constructible<T>::value)>
struct copy_assignment_mixin;

Specializations

Derived Classes

Name

Description

Replaceable

Wraps a T that can be replaced in place without allocation or indirection.

Created with MrDocs