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

Method copyConstructAs

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

Source from the content-addressed store, hash-verified

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);}
157 template <typename U> static void copyAssign(Span<T> data, const U* src) noexcept { SegmentVTable<T>::template copyAssign<U>(data, src);}
158 template <typename U> static void moveConstruct(Span<T> data, U* src) noexcept { SegmentVTable<T>::template moveConstruct<U>(data, src);}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected