class array_ref<T> meta¶
template <typename T>
struct array_ref { … } Reference to array
typedef value_type ¶
using value_type = T Defined at meta/array.hpp:22
typedef pointer ¶
using pointer = value_type* Defined at meta/array.hpp:23
typedef const_pointer ¶
using const_pointer = const value_type* Defined at meta/array.hpp:24
typedef reference ¶
using reference = value_type& Defined at meta/array.hpp:25
typedef const_reference ¶
using const_reference = const value_type& Defined at meta/array.hpp:26
typedef iterator ¶
using iterator = pointer Defined at meta/array.hpp:27
typedef const_iterator ¶
using const_iterator = const_pointer Defined at meta/array.hpp:28
typedef reverse_iterator ¶
Defined at meta/array.hpp:29
typedef const_reverse_iterator ¶
using const_reverse_iterator = std::reverse_iterator<const_iterator> Defined at meta/array.hpp:30
typedef size_type ¶
using size_type = std::size_t Defined at meta/array.hpp:31
typedef difference_type ¶
using difference_type = std::ptrdiff_t Defined at meta/array.hpp:32
constructor array_ref<T>() ¶
constexpr array_ref() noexcept : m_data(nullptr), m_size(0) { … } Defined at meta/array.hpp:34
constructor array_ref<T>(const array_ref<T> &) ¶
constexpr array_ref(const array_ref&) noexcept = default Defined at meta/array.hpp:35
constructor array_ref<T>(array_ref<T> &&) ¶
constexpr array_ref(array_ref&&) noexcept = default Defined at meta/array.hpp:36
function operator=(const array_ref<T> &) ¶
Defined at meta/array.hpp:37
function operator=(array_ref<T> &&) ¶
Defined at meta/array.hpp:38
function array_ref<T>(Container &&) ¶
template <has_data_size Container>
array_ref(Container&& cont) Defined at meta/array.hpp:41
constructor array_ref<T>(std::initializer_list<T>) ¶
constexpr array_ref(std::initializer_list<T> vec) noexcept : m_data(vec.begin()), m_size(vec.size()) { … } Defined at meta/array.hpp:45
constructor array_ref<T>(T *, size_type) ¶
constexpr array_ref(T* data, size_type size) noexcept : m_data(data), m_size(size) { … } Defined at meta/array.hpp:46
function front() ¶
constexpr reference front() const noexcept { … } Defined at meta/array.hpp:48
function back() ¶
constexpr reference back() const noexcept { … } Defined at meta/array.hpp:49
function begin() ¶
constexpr iterator begin() const noexcept { … } Defined at meta/array.hpp:50
function end() ¶
constexpr iterator end() const noexcept { … } Defined at meta/array.hpp:51
function cbegin() ¶
constexpr const_iterator cbegin() const noexcept { … } Defined at meta/array.hpp:52
function cend() ¶
constexpr const_iterator cend() const noexcept { … } Defined at meta/array.hpp:53
function data() ¶
constexpr pointer data() const noexcept { … } Defined at meta/array.hpp:54
function size() ¶
constexpr std::size_t size() const noexcept { … } Defined at meta/array.hpp:55
function empty() ¶
constexpr bool empty() const noexcept { … } Defined at meta/array.hpp:56
function operator[](std::size_t) ¶
Defined at meta/array.hpp:57
Defined at meta/array.hpp:19