template class EE::SmallVector

Overview

#include <small_vector.hpp>

template <typename T, size_t MinInlineCapacity = 16>
class SmallVector: public ankerl::svector< T, MinInlineCapacity > {
public:
    // methods

    static constexpr size_t stack_size();
    bool is_small() const;
};

Detailed Documentation

Methods

static constexpr size_t stack_size()

Returns:

The total number of bytes this object occupies on the stack.

bool is_small() const

Returns:

True if the vector is currently using its inline stack buffer.