1#ifndef CONTAINER_ARRAY_H_INCLUDED
2#define CONTAINER_ARRAY_H_INCLUDED
5#ifndef CPPELIB_NO_STD_ITERATOR
17template <
typename T, std::
size_t Size>
28#ifndef CPPELIB_NO_STD_ITERATOR
100 return &m_buf[
size()];
105 return &m_buf[
size()];
108#ifndef CPPELIB_NO_STD_ITERATOR
159template <
typename T, std::
size_t Size>
162 for (std::size_t i = 0U; i < Size; ++i) {
163 if (!(x[i] == y[i])) {
170template <
typename T, std::
size_t Size>
Definition ContainerException.h:23
bool operator==(const Array< T, Size > &x, const Array< T, Size > &y)
Definition Array.h:160
bool operator!=(const Array< T, Size > &x, const Array< T, Size > &y)
Definition Array.h:171
Similar as std::array of C++11.
Definition Array.h:18
size_type size() const
Definition Array.h:37
std::size_t size_type
Definition Array.h:20
value_type * pointer
Definition Array.h:26
const_pointer data() const
Definition Array.h:83
bool empty() const
Definition Array.h:47
reference back()
Definition Array.h:140
iterator end()
Definition Array.h:98
size_type max_size() const
Definition Array.h:42
reference operator[](size_type idx)
Definition Array.h:52
const value_type * const_iterator
Definition Array.h:23
reverse_iterator rend()
Definition Array.h:119
const_iterator begin() const
Definition Array.h:93
void fill(const T &data)
Definition Array.h:150
reference front()
Definition Array.h:130
const_reference back() const
Definition Array.h:145
std::ptrdiff_t difference_type
Definition Array.h:21
T value_type
Definition Array.h:19
pointer data()
Definition Array.h:78
reverse_iterator rbegin()
Definition Array.h:109
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition Array.h:30
const_iterator end() const
Definition Array.h:103
value_type * iterator
Definition Array.h:22
const_reference front() const
Definition Array.h:135
const_reverse_iterator rend() const
Definition Array.h:124
const_reverse_iterator rbegin() const
Definition Array.h:114
value_type & reference
Definition Array.h:24
std::reverse_iterator< iterator > reverse_iterator
Definition Array.h:29
const_reference operator[](size_type idx) const
Definition Array.h:57
const value_type * const_pointer
Definition Array.h:27
reference at(size_type idx)
Definition Array.h:62
iterator begin()
Definition Array.h:88
const value_type & const_reference
Definition Array.h:25
const_reference at(size_type idx) const
Definition Array.h:70