MCPcopy Create free account
hub / github.com/RenderKit/embree / valueOr

Method valueOr

tutorials/external/catch.hpp:4853–4855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4851 const T* operator->() const { return nullableValue; }
4852
4853 T valueOr( T const& defaultValue ) const {
4854 return nullableValue ? *nullableValue : defaultValue;
4855 }
4856
4857 bool some() const { return nullableValue != nullptr; }
4858 bool none() const { return nullableValue == nullptr; }

Callers 1

listFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected