CppELib 1.7.0
|
Similar as std::array of C++11. More...
#include <Array.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 |
Public Member Functions | |
size_type | size () const |
size_type | max_size () const |
bool | empty () const |
reference | operator[] (size_type idx) |
const_reference | operator[] (size_type idx) const |
reference | at (size_type idx) |
const_reference | at (size_type idx) const |
pointer | data () |
const_pointer | data () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | fill (const T &data) |
Similar as std::array of C++11.
T | Type of element |
Size | Number of elements |
typedef const value_type* Container::Array< T, Size >::const_iterator |
typedef const value_type* Container::Array< T, Size >::const_pointer |
typedef const value_type& Container::Array< T, Size >::const_reference |
typedef std::reverse_iterator<const_iterator> Container::Array< T, Size >::const_reverse_iterator |
typedef std::ptrdiff_t Container::Array< T, Size >::difference_type |
typedef value_type* Container::Array< T, Size >::iterator |
typedef value_type* Container::Array< T, Size >::pointer |
typedef value_type& Container::Array< T, Size >::reference |
typedef std::reverse_iterator<iterator> Container::Array< T, Size >::reverse_iterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |