Atoms Crowd  7.0.0
ToolchefsSTL::Array< T > Class Template Reference

Classes

struct  ReverseIterator
 

Public Types

typedef T value_type
 
typedef T & reference_type
 
typedef T * ptr_type
 
typedef T * iterator
 
typedef const T * const_iterator
 
typedef ReverseIterator< T > reverse_iterator
 
typedef ReverseIterator< const T > const_reverse_iterator
 

Public Member Functions

 Array (Allocator *allocator=defaultAllocator()) noexcept
 
 Array (size_t num_elements, Allocator *allocator=defaultAllocator()) noexcept
 
 Array (size_t num_elements, const T &init_value, Allocator *allocator=defaultAllocator()) noexcept
 
 Array (const Array &rhs) noexcept
 
Arrayoperator= (const Array &rhs) noexcept
 
 Array (Array &&rhs) noexcept
 
Arrayoperator= (Array &&rhs) noexcept
 
bool operator== (const Array &rhs) const noexcept
 
void push_back (const T &element) noexcept
 
template<typename... Args>
T & emplace_back (Args &&... args)
 
void pop_back () noexcept
 
void insert (size_t index, const T &value) noexcept
 
void insert (iterator it, const T &value) noexcept
 
void erase (size_t index) noexcept
 
iterator erase (iterator it) noexcept
 
iterator begin () noexcept
 Iterators.
 
iterator end () noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
T & back () noexcept
 Direct access.
 
const T & back () const noexcept
 
T & front () noexcept
 
const T & front () const noexcept
 
T & operator[] (const size_t index) noexcept
 
const T & operator[] (const size_t index) const noexcept
 
const T * data () const noexcept
 
void resize (size_t new_length) noexcept
 
void reserve (size_t new_capacity) noexcept
 
void clear () noexcept
 
size_t size () const noexcept
 
size_t length () const noexcept
 
size_t capacity () const noexcept
 
void shrink_to_fit () noexcept
 
iterator find (const T &element) noexcept
 
const_iterator find (const T &element) const noexcept
 
bool empty () const noexcept
 

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