libstdc++
std::ranges::view_interface< _Derived > Class Template Reference

#include <ranges_util.h>

Inheritance diagram for std::ranges::view_interface< _Derived >:
[legend]

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_util.h.

Member Function Documentation

◆ back() [1/2]

template<typename _Derived >
constexpr decltype(auto) std::ranges::view_interface< _Derived >::back ( )
inlineconstexpr

Definition at line 158 of file ranges_util.h.

◆ back() [2/2]

template<typename _Derived >
constexpr decltype(auto) std::ranges::view_interface< _Derived >::back ( ) const
inlineconstexpr

Definition at line 166 of file ranges_util.h.

◆ data() [1/2]

template<typename _Derived >
constexpr auto std::ranges::view_interface< _Derived >::data ( ) const
inlineconstexprnoexcept

Definition at line 125 of file ranges_util.h.

◆ data() [2/2]

template<typename _Derived >
constexpr auto std::ranges::view_interface< _Derived >::data ( )
inlineconstexprnoexcept

Definition at line 120 of file ranges_util.h.

◆ empty() [1/2]

template<typename _Derived >
constexpr bool std::ranges::view_interface< _Derived >::empty ( ) const
inlineconstexprnoexcept

Definition at line 104 of file ranges_util.h.

◆ empty() [2/2]

template<typename _Derived >
constexpr bool std::ranges::view_interface< _Derived >::empty ( )
inlineconstexprnoexcept

Definition at line 98 of file ranges_util.h.

◆ front() [1/2]

template<typename _Derived >
constexpr decltype(auto) std::ranges::view_interface< _Derived >::front ( )
inlineconstexpr

Definition at line 144 of file ranges_util.h.

◆ front() [2/2]

template<typename _Derived >
constexpr decltype(auto) std::ranges::view_interface< _Derived >::front ( ) const
inlineconstexpr

Definition at line 151 of file ranges_util.h.

◆ operator bool() [1/2]

template<typename _Derived >
constexpr std::ranges::view_interface< _Derived >::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 115 of file ranges_util.h.

◆ operator bool() [2/2]

template<typename _Derived >
constexpr std::ranges::view_interface< _Derived >::operator bool ( )
inlineexplicitconstexprnoexcept

Definition at line 110 of file ranges_util.h.

◆ operator[]() [1/2]

template<typename _Derived >
template<random_access_range _Range = _Derived>
constexpr decltype(auto) std::ranges::view_interface< _Derived >::operator[] ( range_difference_t< _Range >  __n)
inlineconstexpr

Definition at line 176 of file ranges_util.h.

◆ operator[]() [2/2]

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
inlineconstexpr

Definition at line 181 of file ranges_util.h.

◆ size() [1/2]

template<typename _Derived >
constexpr auto std::ranges::view_interface< _Derived >::size ( ) const
inlineconstexprnoexcept

Definition at line 137 of file ranges_util.h.

◆ size() [2/2]

template<typename _Derived >
constexpr auto std::ranges::view_interface< _Derived >::size ( )
inlineconstexprnoexcept

Definition at line 131 of file ranges_util.h.


The documentation for this class was generated from the following files: