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.
If the state does not have a member function
is_complete, then this will simply return
true. Otherwise, it invokes
__encoding – [in] The encoding for the state.
__state – [in] The state to check for completion.