stateless_validate_resultļ
-
template<typename _Input>
class stateless_validate_resultļ The result of valdation operations (such as ztd_text_validate_decodable_as and ztd_text_validate_encodable_as) that specifically do not include a reference to the state.
Subclassed by validate_pivotless_transcode_result< _Input, _DecodeState, _EncodeState >, validate_result< _Input, _State >
Public Functions
-
template<typename _ArgInput>
inline constexpr stateless_validate_result(_ArgInput &&__input, bool __is_valid)ļ Constructs a ztd::text::validate_result, defaulting the error code to ztd::text::encoding_error::ok if not provided.
- Parameters:
__input ā [in] The input range to store.
__is_valid ā [in] Whether or not the validation succeeded.
-
inline explicit constexpr operator bool() const noexceptļ
A conversion for use in if statements and conditional operators.
- Returns:
Whether or not the result is valid or not.
-
template<typename _ArgInput>