scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::scan_result< Range, Base > Class Template Reference

#include <visitor.h>

Inheritance diagram for scn::scan_result< Range, Base >:

Public Types

using range_type = Range
 
using base_type = Base
 

Public Member Functions

template<typename R >
constexpr scan_result (base_type &&b, R &&r)
 
range_typerange ()&
 
const range_typerange () const &
 
range_type && range ()&&
 
auto begin () -> decltype(detail::ranges::begin(range()))
 
auto begin () const -> decltype(detail::ranges::begin(range()))
 
auto cbegin () const -> decltype(detail::ranges::cbegin(range()))
 
auto end () -> decltype(detail::ranges::end(range()))
 
auto end () const -> decltype(detail::ranges::end(range()))
 
auto cend () const -> decltype(detail::ranges::cend(range()))
 

Detailed Description

template<typename Range, typename Base = wrapped_error>
class scn::scan_result< Range, Base >

Definition at line 165 of file visitor.h.

Member Typedef Documentation

template<typename Range , typename Base = wrapped_error>
using scn::scan_result< Range, Base >::base_type = Base

Definition at line 168 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
using scn::scan_result< Range, Base >::range_type = Range

Definition at line 167 of file visitor.h.

Constructor & Destructor Documentation

template<typename Range , typename Base = wrapped_error>
template<typename R >
constexpr scn::scan_result< Range, Base >::scan_result ( base_type &&  b,
R &&  r 
)
inline

Definition at line 171 of file visitor.h.

Member Function Documentation

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::begin ( ) -> decltype(detail::ranges::begin(range()))
inline

Definition at line 189 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::begin ( ) const -> decltype(detail::ranges::begin(range()))
inline

Definition at line 193 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::cbegin ( ) const -> decltype(detail::ranges::cbegin(range()))
inline

Definition at line 197 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::cend ( ) const -> decltype(detail::ranges::cend(range()))
inline

Definition at line 210 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::end ( ) -> decltype(detail::ranges::end(range()))
inline

Definition at line 202 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
auto scn::scan_result< Range, Base >::end ( ) const -> decltype(detail::ranges::end(range()))
inline

Definition at line 206 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
range_type& scn::scan_result< Range, Base >::range ( )
inline

Definition at line 176 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
const range_type& scn::scan_result< Range, Base >::range ( ) const
inline

Definition at line 180 of file visitor.h.

template<typename Range , typename Base = wrapped_error>
range_type&& scn::scan_result< Range, Base >::range ( )
inline

Definition at line 184 of file visitor.h.


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