4#include "../Foundation/Segment.h"
26 using Segment::Segment;
38 Buffer& operator=(
const Buffer& other) {
return Buffer::operator=(other); }
#define SC_COMPILER_EXPORT
Macro for symbol visibility in non-MSVC compilers.
Definition: Compiler.h:78
constexpr T && move(T &value)
Converts an lvalue to an rvalue reference.
Definition: Compiler.h:269
An heap allocated byte buffer that can optionally use an inline buffer.
Definition: Buffer.h:25
Basic allocator for SC::Segment using Memory functions.
Definition: Segment.h:203
A slice of contiguous memory, prefixed by and header containing size and capacity.
Definition: Segment.h:35
Allows SC::Segment handle trivial types.
Definition: Segment.h:189
A SC::Buffer with a dedicated custom inline buffer to avoid heap allocation.
Definition: Buffer.h:34