18 #ifndef COMMON_ARRAY_VIEW_H 19 #define COMMON_ARRAY_VIEW_H 22 #include <type_traits> 74 using IsDecayedT =
typename std::is_same<typename std::decay<T>::type,
75 typename std::decay<U>::type>;
82 std::is_convertible<U *, T *>>;
123 template<
typename U,
typename V,
131 template<
typename U,
size_t Size,
139 template<
typename Container,
143 <decltype (std::declval<Container> ().
data ()),
147 <decltype (std::declval<Container> ().
size ()),
constexpr array_view(U &&elem) noexcept
constexpr array_view(U(&array)[Size]) noexcept
constexpr size_type size() const noexcept
constexpr const T * end() const noexcept
constexpr array_view(U *array, size_t size) noexcept
constexpr array_view(U &elem) noexcept
reference operator[](size_t index) noexcept
const T & const_reference
typename std::is_same< typename std::decay< T >::type, typename std::decay< U >::type > IsDecayedT
constexpr array_view(U *begin, V *end) noexcept
constexpr array_view(Container &&c) noexcept
typename std::enable_if< Condition::value, void >::type Requires
constexpr const T * data() const noexcept
constexpr bool empty() const noexcept
constexpr array_view() noexcept
constexpr const T * begin() const noexcept