@@ -167,7 +167,7 @@ namespace xt
167167 using pointer = typename traits::pointer;
168168 using value_type = typename traits::value_type;
169169 pointer res = alloc.allocate (size);
170- if (!xtrivially_default_constructible <value_type>::value)
170+ if (!std::is_trivially_default_constructible <value_type>::value)
171171 {
172172 for (pointer p = res; p != res + size; ++p)
173173 {
@@ -189,7 +189,7 @@ namespace xt
189189 using value_type = typename traits::value_type;
190190 if (ptr != nullptr )
191191 {
192- if (!xtrivially_default_constructible <value_type>::value)
192+ if (!std::is_trivially_default_constructible <value_type>::value)
193193 {
194194 for (pointer p = ptr; p != ptr + size; ++p)
195195 {
@@ -325,7 +325,7 @@ namespace xt
325325 rhs.get_allocator ()
326326 );
327327 resize_impl (rhs.size ());
328- if (xtrivially_default_constructible <value_type>::value)
328+ if (std::is_trivially_default_constructible <value_type>::value)
329329 {
330330 std::uninitialized_copy (rhs.p_begin , rhs.p_end , p_begin);
331331 }
@@ -1255,7 +1255,7 @@ namespace xt
12551255 template <class T , std::size_t N, class A , bool Init>
12561256 inline void svector<T, N, A, Init>::destroy_range(T* begin, T* end)
12571257 {
1258- if (!xtrivially_default_constructible <T>::value)
1258+ if (!std::is_trivially_default_constructible <T>::value)
12591259 {
12601260 while (begin != end)
12611261 {
0 commit comments