MCPcopy Create free account
hub / github.com/cppfastio/fast_io / size

Function size

include/fast_io_dsal/impl/vector.h:678–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

iconv_code_cvtFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected