4#include "../Containers/Array.h"
5#include "../Containers/Vector.h"
9template <
typename T,
int N>
25template <
typename T,
int N>
81 SegmentHeader* header = SegmentHeader::getSegmentHeader(buffer.items);
82 header->isSmallVector =
true;
#define SC_COMPILER_WARNING_POP
Pops warning from inside a macro.
Definition: Compiler.h:107
#define SC_COMPILER_OFFSETOF(Class, Field)
Returns offset of Class::Field in bytes.
Definition: Compiler.h:111
#define SC_COMPILER_WARNING_PUSH_OFFSETOF
Disables invalid-offsetof gcc and clang warning.
Definition: Compiler.h:131
constexpr T && forward(typename TypeTraits::RemoveReference< T >::type &value)
Forwards an lvalue or an rvalue as an rvalue reference.
Definition: Compiler.h:272
A contiguous sequence of elements kept inside its inline storage.
Definition: Array.h:43
A Vector that can hold up to N elements inline and > N on heap.
Definition: SmallVector.h:27
A contiguous sequence of heap allocated elements.
Definition: Vector.h:51
Vector & operator=(Vector &&other)
Move assigns another vector to this one.
Definition: Vector.h:395