mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 22:44:26 +02:00
Correctly initialize vector_value_traits_base<T>::trivial_dctr_after_move
This commit is contained in:
@@ -233,7 +233,7 @@ template <class T>
|
|||||||
struct vector_value_traits_base
|
struct vector_value_traits_base
|
||||||
{
|
{
|
||||||
static const bool trivial_dctr = is_trivially_destructible<T>::value;
|
static const bool trivial_dctr = is_trivially_destructible<T>::value;
|
||||||
static const bool trivial_dctr_after_move = trivial_dctr;//has_trivial_destructor_after_move<T>::value;
|
static const bool trivial_dctr_after_move = has_trivial_destructor_after_move<T>::value;
|
||||||
static const bool trivial_copy = is_trivially_copy_constructible<T>::value;
|
static const bool trivial_copy = is_trivially_copy_constructible<T>::value;
|
||||||
static const bool nothrow_copy = is_nothrow_copy_constructible<T>::value || trivial_copy;
|
static const bool nothrow_copy = is_nothrow_copy_constructible<T>::value || trivial_copy;
|
||||||
static const bool trivial_assign = is_trivially_copy_assignable<T>::value;
|
static const bool trivial_assign = is_trivially_copy_assignable<T>::value;
|
||||||
|
Reference in New Issue
Block a user