match_empty_function_protocol overloads
Declared in <folly/functional/protocol.h>
Tests a value comparable to nullptr against the empty-function protocol.
template<typename T>
requires cx_matches_v<T>
constexpr
bool
match_empty_function_protocol(T const& t) noexcept;
» more...
Tests a value that cannot be compared to nullptr; never matches.
template<typename T>
requires !cx_matches_v<T>
constexpr
bool
match_empty_function_protocol(T const& value) noexcept;
» more...
t compares equal to nullptr| Name | Description |
|---|---|
| t | the value to test |
| value | the value to test |