Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ has_value
Function
has_value
include/behaviortree_cpp/contrib/expected.hpp:2195–2198 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2193
}
2194
2195
constexpr bool has_value() const noexcept
2196
{
2197
return contained.has_value();
2198
}
2199
2200
nsel_DISABLE_MSVC_WARNINGS( 4702 ) // warning C4702: unreachable code, see issue 65.
2201
Callers
15
expected.hpp
File · 0.85
~expected
Function · 0.85
operator ->
Function · 0.85
has_exception
Function · 0.85
value_or
Function · 0.85
error_type error_or
Function · 0.85
invoke_result_nocvref_t< F, value_type & > and_then
Method · 0.85
invoke_result_nocvref_t< F, const value_type & > and_then
Method · 0.85
invoke_result_nocvref_t< F, value_type && > and_then
Method · 0.85
invoke_result_nocvref_t< F, const value_type && > and_then
Method · 0.85
invoke_result_nocvref_t< F, error_type & > or_else
Method · 0.85
invoke_result_nocvref_t< F, const error_type & > or_else
Method · 0.85
Calls
1
has_value
Method · 0.45
Tested by
no test coverage detected