VCCC  2024.05
VisualCamp Common C++ library
as_const_view< V > Class Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__ranges/views/as_const_view.hpp>

+ Inheritance diagram for as_const_view< V >:

Public Member Functions

 as_const_view ()=default
 
constexpr as_const_view (V base)
 
template<typename V2 = V, std::enable_if_t< copy_constructible< V2 >::value, int > = 0>
constexpr V base () const &
 
constexpr V base () &&
 
template<typename V2 = V, std::enable_if_t< simple_view< V2 >::value==false, int > = 0>
constexpr auto begin ()
 
template<typename V2 = const V, std::enable_if_t< range< V2 >::value, int > = 0>
constexpr auto begin () const
 
template<typename V2 = V, std::enable_if_t< simple_view< V2 >::value==false, int > = 0>
constexpr auto end ()
 
template<typename V2 = const V, std::enable_if_t< range< V2 >::value, int > = 0>
constexpr auto end () const
 
template<typename V2 = V, std::enable_if_t< sized_range< V2 >::value, int > = 0>
constexpr auto size ()
 
template<typename V2 = const V, std::enable_if_t< sized_range< V2 >::value, int > = 0>
constexpr auto size () const
 
- Public Member Functions inherited from view_interface< as_const_view< V > >
constexpr bool empty ()
 
constexpr bool empty ()
 
constexpr bool empty () const
 
constexpr bool empty () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto data ()
 
constexpr auto data () const
 
constexpr auto size ()
 
constexpr auto size () const
 
constexpr decltype(auto) front ()
 
constexpr decltype(auto) front () const
 
constexpr decltype(auto) back ()
 
constexpr decltype(auto) back () const
 
constexpr decltype(auto) operator[] (range_difference_t< R > n)
 
constexpr decltype(auto) operator[] (range_difference_t< R > n) const
 

Additional Inherited Members

- Public Types inherited from view_interface< as_const_view< V > >
using $vccc_derived = as_const_view< V >
 

Constructor & Destructor Documentation

◆ as_const_view() [1/2]

as_const_view ( )
default

◆ as_const_view() [2/2]

constexpr as_const_view ( base)
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

constexpr V base ( ) &&
inlineconstexpr

◆ base() [2/2]

constexpr V base ( ) const &
inlineconstexpr

◆ begin() [1/2]

constexpr auto begin ( )
inlineconstexpr

◆ begin() [2/2]

constexpr auto begin ( ) const
inlineconstexpr

◆ end() [1/2]

constexpr auto end ( )
inlineconstexpr

◆ end() [2/2]

constexpr auto end ( ) const
inlineconstexpr

◆ size() [1/2]

constexpr auto size ( )
inlineconstexpr

◆ size() [2/2]

constexpr auto size ( ) const
inlineconstexpr

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