Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lexy::scan_result< void > Class Reference

#include <scan.hpp>

Public Types

using value_type = void
 

Public Member Functions

constexpr bool has_value () const noexcept
 
constexpr operator bool () const noexcept
 
constexpr scan_result ()=default
 
constexpr scan_result (bool has_value)
 
constexpr scan_result (scan_failed_t)
 

Private Member Functions

constexpr scan_result (_detail::lazy_init< void > &&value)
 

Private Attributes

_detail::lazy_init< void > _value
 

Friends

template<typename Derived , typename Reader >
class _detail::scanner
 

Detailed Description

Definition at line 94 of file dsl/scan.hpp.

Member Typedef Documentation

◆ value_type

using lexy::scan_result< void >::value_type = void

Definition at line 97 of file dsl/scan.hpp.

Constructor & Destructor Documentation

◆ scan_result() [1/4]

constexpr lexy::scan_result< void >::scan_result ( )
constexprdefault

◆ scan_result() [2/4]

constexpr lexy::scan_result< void >::scan_result ( scan_failed_t  )
inlineconstexpr

Definition at line 100 of file dsl/scan.hpp.

◆ scan_result() [3/4]

constexpr lexy::scan_result< void >::scan_result ( bool  has_value)
inlineconstexpr

Definition at line 101 of file dsl/scan.hpp.

◆ scan_result() [4/4]

constexpr lexy::scan_result< void >::scan_result ( _detail::lazy_init< void > &&  value)
inlineexplicitconstexprprivate

Definition at line 117 of file dsl/scan.hpp.

Member Function Documentation

◆ has_value()

constexpr bool lexy::scan_result< void >::has_value ( ) const
inlineconstexprnoexcept

Definition at line 111 of file dsl/scan.hpp.

◆ operator bool()

constexpr lexy::scan_result< void >::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 107 of file dsl/scan.hpp.

Friends And Related Function Documentation

◆ _detail::scanner

template<typename Derived , typename Reader >
friend class _detail::scanner
friend

Definition at line 122 of file dsl/scan.hpp.

Member Data Documentation

◆ _value

_detail::lazy_init<void> lexy::scan_result< void >::_value
private

Definition at line 119 of file dsl/scan.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09