#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 42 of file dsl/scan.hpp.
using lexy::scan_result< T >::value_type = T |
Definition at line 45 of file dsl/scan.hpp.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 48 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 51 of file dsl/scan.hpp.
|
inlineexplicitconstexprprivate |
Definition at line 86 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 60 of file dsl/scan.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 56 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 69 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 65 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 80 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 75 of file dsl/scan.hpp.
|
friend |
Definition at line 91 of file dsl/scan.hpp.
|
private |
Definition at line 88 of file dsl/scan.hpp.