is_state_completeļ
-
template<typename _Encoding, typename _State>
constexpr bool ztd::text::is_state_complete(_Encoding &__encoding, _State &__state) noexceptļ Returns whether or not a state has completed any associated operations and has no more manipulations on the output to perform, even if the input source is empty.
Remark
If the state does not have a member function
is_complete
, then this will simply returntrue
. Otherwise, it invokes__state.is_complete()
.- Parameters
__encoding ā [in] The encoding for the state.
__state ā [in] The state to check for completion.