neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc > Class Template Reference

#include <vecarray.hpp>

Classes

class  const_iterator
 
class  iterator
 
struct  iterator_invalid
 

Public Types

typedef T value_type
 
typedef Tpointer
 
typedef const Tconst_pointer
 
typedef Treference
 
typedef const Tconst_reference
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef Alloc allocator_type
 
typedef std::vector< value_type, allocator_typevector_type
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 

Public Member Functions

 vecarray ()
 
 vecarray (const vecarray &rhs)
 
 vecarray (vecarray &&rhs)
 
template<typename T2 , std::size_t N2>
 vecarray (const vecarray< T2, N2 > &rhs)
 
 vecarray (size_type n)
 
 vecarray (size_type n, value_type value)
 
template<typename InputIterator >
 vecarray (InputIterator first, InputIterator last)
 
 vecarray (std::initializer_list< T > init)
 
 ~vecarray ()
 
const_iterator cbegin () const
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator cend () const
 
const_iterator end () const
 
iterator end ()
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
bool empty () const
 
bool full () const
 
size_type size () const
 
size_type available () const
 
size_type capacity () const
 
size_type max_size () const
 
size_type after (size_type position) const
 
reference operator[] (size_type n)
 
const_reference operator[] (size_type n) const
 
reference at (size_type n)
 
const_reference at (size_type n) const
 
reference front ()
 
reference back ()
 
const_reference front () const
 
const_reference back () const
 
vecarrayoperator= (const vecarray &rhs)
 
template<typename T2 , std::size_t N2>
vecarrayoperator= (const vecarray< T2, N2 > &rhs)
 
template<typename InputIterator >
void assign (InputIterator first, InputIterator last)
 
void assign (size_type n, value_type value)
 
template<class InputIterator >
std::enable_if_t<!std::is_integral< InputIterator >::value, iteratorinsert (const_iterator position, InputIterator first, InputIterator last)
 
iterator insert (const_iterator position, value_type value)
 
iterator insert (const_iterator position, size_type count, const value_type &value)
 
iterator erase (const_iterator position)
 
iterator erase (const_iterator first, const_iterator last)
 
void clear ()
 
template<class... Args>
reference emplace_back (Args &&... args)
 
void push_back (const value_type &value)
 
void push_back (value_type &&value)
 
void pop_back ()
 
void remove (value_type value, bool multiple=true)
 
void resize (size_type n)
 
void resize (size_type n, const value_type &value)
 
void reserve (size_type n)
 
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
void swap (vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &rhs)
 
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
bool operator== (const vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &rhs) const
 
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
bool operator!= (const vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &rhs) const
 

Static Public Member Functions

static constexpr bool is_fixed_size ()
 

Detailed Description

template<typename T, std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
class neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >

Definition at line 100 of file vecarray.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef Alloc neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::allocator_type

Definition at line 114 of file vecarray.hpp.

◆ const_pointer

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef const T* neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_pointer

Definition at line 109 of file vecarray.hpp.

◆ const_reference

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef const T& neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_reference

Definition at line 111 of file vecarray.hpp.

◆ const_reverse_iterator

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::reverse_iterator<const_iterator> neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_reverse_iterator

Definition at line 370 of file vecarray.hpp.

◆ difference_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::ptrdiff_t neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::difference_type

Definition at line 113 of file vecarray.hpp.

◆ pointer

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef T* neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::pointer

Definition at line 108 of file vecarray.hpp.

◆ reference

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef T& neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::reference

Definition at line 110 of file vecarray.hpp.

◆ reverse_iterator

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::reverse_iterator<iterator> neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::reverse_iterator

Definition at line 369 of file vecarray.hpp.

◆ size_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::size_t neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::size_type

Definition at line 112 of file vecarray.hpp.

◆ value_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef T neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::value_type

Definition at line 107 of file vecarray.hpp.

◆ vector_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::vector<value_type, allocator_type> neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vector_type

Definition at line 115 of file vecarray.hpp.

Constructor & Destructor Documentation

◆ vecarray() [1/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( )
inline

Definition at line 377 of file vecarray.hpp.

◆ vecarray() [2/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( const vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc > &  rhs)
inline

Definition at line 380 of file vecarray.hpp.

◆ vecarray() [3/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc > &&  rhs)
inline

Definition at line 384 of file vecarray.hpp.

◆ vecarray() [4/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename T2 , std::size_t N2>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( const vecarray< T2, N2 > &  rhs)
inline

Definition at line 399 of file vecarray.hpp.

◆ vecarray() [5/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( size_type  n)
inline

Definition at line 403 of file vecarray.hpp.

◆ vecarray() [6/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( size_type  n,
value_type  value 
)
inline

Definition at line 407 of file vecarray.hpp.

◆ vecarray() [7/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename InputIterator >
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 412 of file vecarray.hpp.

◆ vecarray() [8/8]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::vecarray ( std::initializer_list< T init)
inline

Definition at line 416 of file vecarray.hpp.

◆ ~vecarray()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::~vecarray ( )
inline

Definition at line 420 of file vecarray.hpp.

Member Function Documentation

◆ after()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
size_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::after ( size_type  position) const
inline

Definition at line 445 of file vecarray.hpp.

◆ assign() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename InputIterator >
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::assign ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 474 of file vecarray.hpp.

◆ assign() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::assign ( size_type  n,
value_type  value 
)
inline

Definition at line 479 of file vecarray.hpp.

◆ at() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::at ( size_type  n)
inline

Definition at line 451 of file vecarray.hpp.

◆ at() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::at ( size_type  n) const
inline

Definition at line 452 of file vecarray.hpp.

◆ available()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
size_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::available ( ) const
inline

Definition at line 442 of file vecarray.hpp.

◆ back() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::back ( )
inline

Definition at line 454 of file vecarray.hpp.

◆ back() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::back ( ) const
inline

Definition at line 456 of file vecarray.hpp.

◆ begin() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::begin ( )
inline

Definition at line 431 of file vecarray.hpp.

◆ begin() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::begin ( ) const
inline

Definition at line 430 of file vecarray.hpp.

◆ capacity()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
size_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::capacity ( ) const
inline

Definition at line 443 of file vecarray.hpp.

◆ cbegin()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::cbegin ( ) const
inline

Definition at line 429 of file vecarray.hpp.

◆ cend()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::cend ( ) const
inline

Definition at line 432 of file vecarray.hpp.

◆ clear()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::clear ( )
inline

Definition at line 548 of file vecarray.hpp.

◆ emplace_back()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<class... Args>
reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::emplace_back ( Args &&...  args)
inline

Definition at line 553 of file vecarray.hpp.

◆ empty()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::empty ( ) const
inline

Definition at line 439 of file vecarray.hpp.

◆ end() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::end ( )
inline

Definition at line 434 of file vecarray.hpp.

◆ end() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::end ( ) const
inline

Definition at line 433 of file vecarray.hpp.

◆ erase() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::erase ( const_iterator  first,
const_iterator  last 
)
inline

Definition at line 528 of file vecarray.hpp.

◆ erase() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::erase ( const_iterator  position)
inline

Definition at line 514 of file vecarray.hpp.

◆ front() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::front ( )
inline

Definition at line 453 of file vecarray.hpp.

◆ front() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::front ( ) const
inline

Definition at line 455 of file vecarray.hpp.

◆ full()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::full ( ) const
inline

Definition at line 440 of file vecarray.hpp.

◆ insert() [1/3]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<class InputIterator >
std::enable_if_t<!std::is_integral< InputIterator >::value, iterator > neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::insert ( const_iterator  position,
InputIterator  first,
InputIterator  last 
)
inline

Definition at line 486 of file vecarray.hpp.

◆ insert() [2/3]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::insert ( const_iterator  position,
size_type  count,
const value_type value 
)
inline

Definition at line 498 of file vecarray.hpp.

◆ insert() [3/3]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::insert ( const_iterator  position,
value_type  value 
)
inline

Definition at line 492 of file vecarray.hpp.

◆ is_fixed_size()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
static constexpr bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::is_fixed_size ( )
inlinestaticconstexpr

Definition at line 373 of file vecarray.hpp.

◆ max_size()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
size_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::max_size ( ) const
inline

Definition at line 444 of file vecarray.hpp.

◆ operator!=()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator!= ( const vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &  rhs) const
inline

Definition at line 654 of file vecarray.hpp.

◆ operator=() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
vecarray & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator= ( const vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc > &  rhs)
inline

Definition at line 460 of file vecarray.hpp.

◆ operator=() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename T2 , std::size_t N2>
vecarray & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator= ( const vecarray< T2, N2 > &  rhs)
inline

Definition at line 467 of file vecarray.hpp.

◆ operator==()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator== ( const vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &  rhs) const
inline

Definition at line 649 of file vecarray.hpp.

◆ operator[]() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator[] ( size_type  n)
inline

Definition at line 449 of file vecarray.hpp.

◆ operator[]() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::operator[] ( size_type  n) const
inline

Definition at line 450 of file vecarray.hpp.

◆ pop_back()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::pop_back ( )
inline

Definition at line 590 of file vecarray.hpp.

◆ push_back() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::push_back ( const value_type value)
inline

Definition at line 566 of file vecarray.hpp.

◆ push_back() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::push_back ( value_type &&  value)
inline

Definition at line 578 of file vecarray.hpp.

◆ rbegin() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reverse_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::rbegin ( )
inline

Definition at line 435 of file vecarray.hpp.

◆ rbegin() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reverse_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::rbegin ( ) const
inline

Definition at line 436 of file vecarray.hpp.

◆ remove()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::remove ( value_type  value,
bool  multiple = true 
)
inline

Definition at line 594 of file vecarray.hpp.

◆ rend() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
reverse_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::rend ( )
inline

Definition at line 437 of file vecarray.hpp.

◆ rend() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reverse_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::rend ( ) const
inline

Definition at line 438 of file vecarray.hpp.

◆ reserve()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::reserve ( size_type  n)
inline

Definition at line 633 of file vecarray.hpp.

◆ resize() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::resize ( size_type  n)
inline

Definition at line 609 of file vecarray.hpp.

◆ resize() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::resize ( size_type  n,
const value_type value 
)
inline

Definition at line 621 of file vecarray.hpp.

◆ size()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
size_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::size ( ) const
inline

Definition at line 441 of file vecarray.hpp.

◆ swap()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
template<typename T2 , std::size_t ArraySize2, std::size_t MaxVectorSize2, typename CheckPolicy2 , typename Alloc2 >
void neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::swap ( vecarray< T2, ArraySize2, MaxVectorSize2, CheckPolicy2, Alloc2 > &  rhs)
inline

Definition at line 639 of file vecarray.hpp.

Member Data Documentation

◆ iData

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
char neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::iData[sizeof(T) *ArraySize]

Definition at line 781 of file vecarray.hpp.

◆ iVector

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
char neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::iVector[sizeof(vector_type)]

Definition at line 782 of file vecarray.hpp.


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