Template Class array< T, 0 >¶
Defined in File array.hpp
Class Documentation¶
-
template<class T>
class util::array<T, 0>¶ Specialization for empty array.
Public Types
-
using size_type = std::size_t¶
-
using difference_type = std::ptrdiff_t¶
-
using reference = value_type&¶
-
using const_reference = const value_type&¶
-
using pointer = value_type*¶
-
using const_pointer = const value_type*¶
-
using const_iterator = const_pointer¶
-
using const_reverse_iterator = std::reverse_iterator<const_iterator>¶
Public Functions
-
inline constexpr auto at(size_type pos) const -> const_reference¶
-
inline constexpr auto operator[](size_type pos) const -> const_reference¶
-
inline constexpr auto front() const -> const_reference¶
-
inline constexpr auto back() const -> const_reference¶
-
inline constexpr auto data() const noexcept -> const_pointer¶
-
inline constexpr auto begin() const noexcept -> const_iterator¶
-
inline constexpr auto cbegin() const noexcept -> const_iterator¶
-
inline constexpr auto end() const noexcept -> const_iterator¶
-
inline constexpr auto cend() const noexcept -> const_iterator¶
-
inline constexpr auto rbegin() noexcept -> reverse_iterator¶
-
inline constexpr auto rbegin() const noexcept -> const_reverse_iterator¶
-
inline constexpr auto crbegin() const noexcept -> const_reverse_iterator¶
-
inline constexpr auto rend() noexcept -> reverse_iterator¶
-
inline constexpr auto rend() const noexcept -> const_reverse_iterator¶
-
inline constexpr auto crend() const noexcept -> const_reverse_iterator¶
-
inline constexpr auto empty() const noexcept -> bool¶
-
inline constexpr void swap(array &other)¶
-
using size_type = std::size_t¶