halcheck 1.0
Loading...
Searching...
No Matches
halcheck::lib::view_interface< Self > Class Template Reference

An implementation of std::ranges::view_interface. More...

#include <interface.hpp>

Public Member Functions

template<typename T = Self>
constexpr bool empty () const
 
template<typename T = Self>
constexpr bool empty () const
 
template<typename T = Self>
bool empty ()
 
template<typename T = Self>
bool empty ()
 
template<typename T = Self>
constexpr operator bool () const
 
template<typename T = Self>
 operator bool ()
 
template<typename T = Self>
constexpr auto size () const -> decltype(lib::to_unsigned(lib::end(self< T >()) - lib::begin(self< T >())))
 
template<typename T = Self>
auto size () -> decltype(lib::to_unsigned(lib::end(self< T >()) - lib::begin(self< T >())))
 
template<typename T = Self>
constexpr auto front () const -> decltype(*lib::begin(self< T >()))
 
template<typename T = Self>
auto front () -> decltype(*lib::begin(self< T >()))
 
template<typename T = Self>
constexpr auto back () const -> decltype(*std::prev(lib::end(self< T >())))
 
template<typename T = Self>
auto back () -> decltype(*std::prev(lib::end(self< T >())))
 
template<typename T = Self>
constexpr auto operator[] (lib::range_difference_t< T > n) const -> decltype(lib::begin(self< T >())[n])
 
template<typename T = Self>
auto operator[] (lib::range_difference_t< T > n) -> decltype(lib::begin(self< T >())[n])
 

Detailed Description

template<typename Self>
class halcheck::lib::view_interface< Self >

An implementation of std::ranges::view_interface.

See also
std::ranges::view_interface

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