No-op value checker. More...
#include <playrho/detail/Checked.hpp>
Public Member Functions | |
constexpr auto | operator() () noexcept -> decltype(T()) |
Default value supplying functor. More... | |
constexpr auto | operator() (const T &) noexcept -> const char * |
Value checking functor. More... | |
No-op value checker.
Provides functors for a no-operation style checker. This simply always returns nullptr
in the one-parameter value checking functor and returns the template specified type's default value from the no-parameter functor.
T | Value type to check. |
Checked
.
|
inlineconstexprnoexcept |
Default value supplying functor.
|
inlineconstexprnoexcept |
Value checking functor.
nullptr
, in a conceivably no-operation style.