MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / valueOr

Method valueOr

Source/ThirdParty/catch2/catch.hpp:4441–4443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4439 const T* operator->() const { return nullableValue; }
4440
4441 T valueOr( T const& defaultValue ) const {
4442 return nullableValue ? *nullableValue : defaultValue;
4443 }
4444
4445 bool some() const { return nullableValue != nullptr; }
4446 bool none() const { return nullableValue == nullptr; }

Callers 1

listFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected