MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / destruct

Method destruct

Libraries/Containers/Vector.h:153–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151{
152 using Type = T;
153 static void destruct(Span<T> data) noexcept { SegmentVTable<T>::destruct(data); }
154 // clang-format off
155 template <typename U> static void copyConstructAs(Span<T> data, Span<const U> value) noexcept { SegmentVTable<T>::template copyConstructAs<U>(data, value);}
156 template <typename U> static void copyConstruct(Span<T> data, const U* src) noexcept { SegmentVTable<T>::template copyConstruct<U>(data, src);}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected