#include <scan.hpp>
Public Types | |
using | value_type = T |
Public Member Functions | |
constexpr bool | has_value () const noexcept |
constexpr | operator bool () const noexcept |
constexpr | scan_result ()=default |
constexpr | scan_result (scan_failed_t) |
template<typename U = T, typename = std::enable_if_t<std::is_constructible_v<T, U>>> | |
constexpr | scan_result (U &&value) |
constexpr decltype(auto) | value () &&noexcept |
constexpr decltype(auto) | value () const &noexcept |
template<typename U = T> | |
constexpr decltype(auto) | value_or (U &&fallback) &&noexcept |
template<typename U = T> | |
constexpr decltype(auto) | value_or (U &&fallback) const &noexcept |
Private Member Functions | |
constexpr | scan_result (_detail::lazy_init< T > &&value) |
Private Attributes | |
_detail::lazy_init< T > | _value |
Friends | |
template<typename Derived , typename Reader > | |
class | _detail::scanner |
Definition at line 44 of file dsl/scan.hpp.
using lexy::scan_result< T >::value_type = T |
Definition at line 47 of file dsl/scan.hpp.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 50 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 53 of file dsl/scan.hpp.
|
inlineexplicitconstexprprivate |
Definition at line 88 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 62 of file dsl/scan.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 58 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 71 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 67 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 82 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 77 of file dsl/scan.hpp.
|
friend |
Definition at line 93 of file dsl/scan.hpp.
|
private |
Definition at line 90 of file dsl/scan.hpp.