Google OR-Tools: util::internal::SVector< IndexT, T

template<typename IndexT, typename T>
class util::internal::SVector< IndexT, T >

Definition at line 441 of file graph.h.

#include <graph.h>

Public Types

using value_type = T

Public Member Functions

 SVector ()
 ~SVector ()
 SVector (const SVector &other)
SVectoroperator= (const SVector &other)
 SVector (SVector &&other) noexcept
SVectoroperator= (SVector &&other) noexcept
T & operator[] (IndexT n)
const T & operator[] (IndexT n) const
void resize (IndexT n)
void clear ()
T * data () const
const T * begin () const
const T * end () const
void swap (SVector< IndexT, T > &x) noexcept
void reserve (IndexT n)
void grow (const T &left=T(), const T &right=T())
IndexT size () const
IndexT capacity () const
IndexT max_size () const
void clear_and_dealloc ()

◆ value_type

template<typename IndexT, typename T>

◆ SVector() [1/3]

template<typename IndexT, typename T>

template<typename IndexT, typename T>

◆ SVector() [2/3]

template<typename IndexT, typename T>

◆ SVector() [3/3]

template<typename IndexT, typename T>

◆ begin()

template<typename IndexT, typename T>

◆ capacity()

template<typename IndexT, typename T>

◆ clear()

template<typename IndexT, typename T>

◆ clear_and_dealloc()

template<typename IndexT, typename T>

◆ data()

template<typename IndexT, typename T>

◆ end()

template<typename IndexT, typename T>

◆ grow()

template<typename IndexT, typename T>

◆ max_size()

template<typename IndexT, typename T>

◆ operator=() [1/2]

template<typename IndexT, typename T>

◆ operator=() [2/2]

template<typename IndexT, typename T>

◆ operator[]() [1/2]

template<typename IndexT, typename T>

◆ operator[]() [2/2]

template<typename IndexT, typename T>

◆ reserve()

template<typename IndexT, typename T>

◆ resize()

template<typename IndexT, typename T>

◆ size()

template<typename IndexT, typename T>

◆ swap()

template<typename IndexT, typename T>


The documentation for this class was generated from the following file: