MCPcopy Create free account
hub / github.com/apache/trafficserver / valueOr

Method valueOr

lib/catch2/catch.hpp:4448–4450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4446 const T* operator->() const { return nullableValue; }
4447
4448 T valueOr( T const& defaultValue ) const {
4449 return nullableValue ? *nullableValue : defaultValue;
4450 }
4451
4452 bool some() const { return nullableValue != nullptr; }
4453 bool none() const { return nullableValue == nullptr; }

Callers 1

listFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected