table of contents
std::ranges::view_interface< _Derived >(3cxx) | std::ranges::view_interface< _Derived >(3cxx) |
NAME¶
std::ranges::view_interface< _Derived > - The ranges::view_interface class template.
SYNOPSIS¶
#include <ranges>
Public Member Functions¶
constexpr decltype(auto) back ()
constexpr decltype(auto) back () const
constexpr auto data () const
noexcept(noexcept(ranges::begin(_M_derived())))
constexpr auto data () noexcept(noexcept(ranges::begin(_M_derived())))
constexpr bool empty () const
noexcept(noexcept(_S_empty(_M_derived())))
constexpr bool empty () noexcept(noexcept(_S_empty(_M_derived())))
constexpr decltype(auto) front ()
constexpr decltype(auto) front () const
constexpr operator bool () const
noexcept(noexcept(ranges::empty(_M_derived())))
constexpr operator bool ()
noexcept(noexcept(ranges::empty(_M_derived())))
template<random_access_range _Range = _Derived> constexpr decltype(auto)
operator[] (range_difference_t< _Range > __n)
template<random_access_range _Range = const _Derived> constexpr
decltype(auto) operator[] (range_difference_t< _Range > __n)
const
constexpr auto size () const noexcept(noexcept(_S_size(_M_derived())))
constexpr auto size () noexcept(noexcept(_S_size(_M_derived())))
Detailed Description¶
template<typename _Derived>¶
requires is_class_v<_Derived> &&
same_as<_Derived, remove_cv_t<_Derived>>
class std::ranges::view_interface< _Derived >"The
ranges::view_interface class template.
Definition at line 64 of file ranges.
Member Function Documentation¶
template<typename _Derived > constexpr decltype(auto) std::ranges::view_interface< _Derived >::back () [inline], [constexpr]¶
Definition at line 158 of file ranges.
template<typename _Derived > constexpr decltype(auto) std::ranges::view_interface< _Derived >::back () const [inline], [constexpr]¶
Definition at line 166 of file ranges.
template<typename _Derived > constexpr auto std::ranges::view_interface< _Derived >::data () const [inline], [constexpr], [noexcept]¶
Definition at line 125 of file ranges.
template<typename _Derived > constexpr auto std::ranges::view_interface< _Derived >::data () [inline], [constexpr], [noexcept]¶
Definition at line 120 of file ranges.
template<typename _Derived > constexpr bool std::ranges::view_interface< _Derived >::empty () const [inline], [constexpr], [noexcept]¶
Definition at line 104 of file ranges.
template<typename _Derived > constexpr bool std::ranges::view_interface< _Derived >::empty () [inline], [constexpr], [noexcept]¶
Definition at line 98 of file ranges.
template<typename _Derived > constexpr decltype(auto) std::ranges::view_interface< _Derived >::front () [inline], [constexpr]¶
Definition at line 144 of file ranges.
template<typename _Derived > constexpr decltype(auto) std::ranges::view_interface< _Derived >::front () const [inline], [constexpr]¶
Definition at line 151 of file ranges.
template<typename _Derived > constexpr std::ranges::view_interface< _Derived >::operator bool () const [inline], [explicit], [constexpr], [noexcept]¶
Definition at line 115 of file ranges.
template<typename _Derived > constexpr std::ranges::view_interface< _Derived >::operator bool () [inline], [explicit], [constexpr], [noexcept]¶
Definition at line 110 of file ranges.
template<typename _Derived > template<random_access_range _Range = _Derived> constexpr decltype(auto) std::ranges::view_interface< _Derived >::operator[] (range_difference_t< _Range > __n) [inline], [constexpr]¶
Definition at line 176 of file ranges.
template<typename _Derived > template<random_access_range _Range = const _Derived> constexpr decltype(auto) std::ranges::view_interface< _Derived >::operator[] (range_difference_t< _Range > __n) const [inline], [constexpr]¶
Definition at line 181 of file ranges.
template<typename _Derived > constexpr auto std::ranges::view_interface< _Derived >::size () const [inline], [constexpr], [noexcept]¶
Definition at line 137 of file ranges.
template<typename _Derived > constexpr auto std::ranges::view_interface< _Derived >::size () [inline], [constexpr], [noexcept]¶
Definition at line 131 of file ranges.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Sun Jan 8 2023 | libstdc++ |