.. index:: pair: class; EE::SmallVector .. _doxid-class_e_e_1_1_small_vector: template class EE::SmallVector ============================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template class SmallVector: public ankerl::svector< T, MinInlineCapacity > { public: // methods static constexpr size_t :ref:`stack_size`(); bool :ref:`is_small`() const; }; .. _details-class_e_e_1_1_small_vector: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; stack_size .. _doxid-class_e_e_1_1_small_vector_1a683e7d91e4e89c79eba834e46e9443ab: .. ref-code-block:: cpp :class: doxyrest-title-code-block static constexpr size_t stack_size() .. rubric:: Returns: The total number of bytes this object occupies on the stack. .. index:: pair: function; is_small .. _doxid-class_e_e_1_1_small_vector_1ad02a7461263196b8faa57c142a46ee79: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool is_small() const .. rubric:: Returns: True if the vector is currently using its inline stack buffer.