24 template<
class iterator_t>
25 inline void destruct(iterator_t itStart, iterator_t itEnd);
34 template<
size_t N,
class T>
46 template<
class T, std::
size_t LeftLength, std::
size_t RightLength>
47 constexpr std::array<T, LeftLength + RightLength>
join_arrays(
48 std::array<T, LeftLength> rhs,
49 std::array<T, RightLength> lhs);
58 template<std::
size_t N,
class T>
59 constexpr std::array<T, N>
span_to_array(
const std::span<T, N>& span);
69 template<
class result_container_t,
class container_t>
78 template<
class container_t>
79 constexpr
size_t bytes_size(
const container_t& container);
void destruct(iterator_t itStart, iterator_t itEnd)
Call destructors.
constexpr std::array< T, N > span_to_array(const std::span< T, N > &span)
Convert a span to an array.
constexpr size_t bytes_size(const container_t &container)
Get the size of memory allocated for container elements.
constexpr auto make_array(T init_val=T())
Fill array with value in constructor.
result_container_t make_container(const container_t &from)
Create a container by constructing each element from the corresponding element of the original contai...
constexpr std::array< T, LeftLength+RightLength > join_arrays(std::array< T, LeftLength > rhs, std::array< T, RightLength > lhs)
Join arrays at compile-time.