MCPcopy Create free account
hub / github.com/bitwizeshift/result / has_error

Method has_error

include/result.hpp:4596–4601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4594
4595template <typename T, typename E>
4596inline RESULT_INLINE_VISIBILITY constexpr
4597auto RESULT_NS_IMPL::result<T,E>::has_error()
4598 const noexcept -> bool
4599{
4600 return !m_storage.storage.m_has_value;
4601}
4602
4603//-----------------------------------------------------------------------------
4604

Callers 9

result.test.cppFile · 0.80
operator==Method · 0.80
operator!=Method · 0.80
operator<=Method · 0.80
operator>=Method · 0.80
operator<Method · 0.80
operator>Method · 0.80
noexceptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected