| 676 | static_assert(::fast_io::containers::details::copy_constructible<value_type>, "vector's value type must be copy constructible to use copy constructor"); |
| 677 | std::size_t const vecsize{static_cast<std::size_t>(vec.imp.curr_ptr - vec.imp.begin_ptr)}; |
| 678 | if (vecsize == 0) |
| 679 | { |
| 680 | return; |
| 681 | } |
| 682 | imp.begin_ptr = this->allocate_elements(vecsize); |
| 683 | if constexpr (::std::is_trivially_copyable_v<value_type>) |
| 684 | { |