std::ranges::view_interface(3cxx)

std::ranges::view_interface3cxx

The ranges::view_interface class template.

Usage

#include <ranges>

Inherited by std::ranges::subrange< iterator_t< _Vp > >, std::ranges::basic_istream_view< _Val, _CharT, _Traits >, std::ranges::iota_view< _Winc, _Bound >, and std::ranges::subrange< _It, _Sent, _Kind >.

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.