CppELib 1.7.0
|
STL-like vector container with fixed capacity. More...
#include <FixedVector.h>
Public Types | |
typedef T | value_type |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef value_type * | iterator |
typedef const value_type * | const_iterator |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
STL-like vector container with fixed capacity.
T | Type of element |
MaxSize | Max of elements that can be stored (that is decided at compile-time) |
Almost all the method specification is similar as STL vector, but this container can not expand the capacity.
Over capacity addition of element throws the exception derived from std::exception. But if CPPELIB_NO_EXCEPTIONS macro is defined, aborted instead of the exception.
typedef const value_type* Container::FixedVector< T, MaxSize >::const_iterator |
typedef const value_type* Container::FixedVector< T, MaxSize >::const_pointer |
typedef const value_type& Container::FixedVector< T, MaxSize >::const_reference |
typedef std::reverse_iterator<const_iterator> Container::FixedVector< T, MaxSize >::const_reverse_iterator |
typedef std::ptrdiff_t Container::FixedVector< T, MaxSize >::difference_type |
typedef value_type* Container::FixedVector< T, MaxSize >::iterator |
typedef value_type* Container::FixedVector< T, MaxSize >::pointer |
typedef value_type& Container::FixedVector< T, MaxSize >::reference |
typedef std::reverse_iterator<iterator> Container::FixedVector< T, MaxSize >::reverse_iterator |
typedef std::size_t Container::FixedVector< T, MaxSize >::size_type |
typedef T Container::FixedVector< T, MaxSize >::value_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |