table of contents
std::ranges::empty_view< _Tp >(3cxx) | std::ranges::empty_view< _Tp >(3cxx) |
NAME¶
std::ranges::empty_view< _Tp > - A view that contains no elements.
SYNOPSIS¶
#include <ranges>
Inherits std::ranges::view_interface< empty_view< _Tp > >.
Public Member Functions¶
constexpr decltype(auto) back ()
constexpr decltype(auto) back () const
constexpr auto data () const
noexcept(noexcept(ranges::begin(_M_derived())))
constexpr bool empty () const
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())))
constexpr decltype(auto) operator[]
(range_difference_t< _Range > __n)
constexpr decltype(auto) operator[]
(range_difference_t< _Range > __n) const
constexpr auto size () const
noexcept(noexcept(_S_size(_M_derived())))
Static Public Member Functions¶
static constexpr _Tp * begin () noexcept
static constexpr _Tp * data () noexcept
static constexpr bool empty () noexcept
static constexpr _Tp * end () noexcept
static constexpr size_t size () noexcept
Detailed Description¶
template<typename _Tp>¶
requires is_object_v<_Tp>
class std::ranges::empty_view< _Tp >"A view that contains no
elements.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ |