Open 3D Engine AtomCore API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::small_vector< T, FixedSize > Class Template Reference

Public Member Functions

 small_vector (const small_vector< T, FixedSize > &)=default
 
 small_vector (small_vector< T, FixedSize > &&)=default
 
small_vectoroperator= (const small_vector< T, FixedSize > &)=default
 
small_vectoroperator= (small_vector< T, FixedSize > &&)=default
 
 small_vector (size_t newSize, const T &value)
 
void push_back (const T &value)
 
template<typename... Args, typename = AZStd::enable_if_t<AZStd::is_constructible_v<T, Args...>>>
T & emplace_back (Args &&... args) noexcept
 
void erase (size_t position)
 
void resize (size_t newSize, const T &value)
 
void resize (size_t newSize)
 
void reserve (size_t newCapacity)
 
size_t size ()
 
AZStd::span< T > span ()
 
AZStd::span< const T > span () const
 
T & operator[] (size_t pos)
 
const T & operator[] (size_t pos) const
 
void clear ()
 
bool empty () const
 
size_t size () const
 

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