Function valueOr
Synopsis
#include <include/internal/catch_option.hpp>
T valueOr(T const &defaultValue) const
Description
No description yet.
Source
Lines 54-56 in include/internal/catch_option.hpp.
T valueOr( T const& defaultValue ) const {
return nullableValue ? *nullableValue : defaultValue;
}