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

Method SmallVector

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

clang-format off

Source from the content-addressed store, hash-verified

252{
253 // clang-format off
254 SmallVector(SegmentAllocator allocator = SegmentAllocator::Global) noexcept : Vector<T>( N * sizeof(T), allocator) {}
255 ~SmallVector() noexcept {}
256 SmallVector(const SmallVector& other) noexcept : SmallVector() { Vector<T>::operator=(other); }
257 SmallVector(SmallVector&& other) noexcept : SmallVector() { Vector<T>::operator=(move(other)); }

Callers

nothing calls this directly

Calls 3

assignFunction · 0.50
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected