is_copy_insertable¶
Header¶
#include <tick/traits/is_copy_insertable.h>
Description¶
If a type can be copy-constructed in-place by a given allocator.
Synopsis¶
TICK_TRAIT(is_copy_insertable,
is_move_insertable<_1, _2>
)
{
template<class C, class T>
auto require(const C&, const T&) -> valid<
is_true<is_emplace_constructible<C, T, T>>
>;
};