E.V.E
v2023.02.15

◆ numeric

eve::numeric = {}
inlineconstexpr

Higher-order Callable Object imbuing non invalid return preference semantic onto other Callable Objects.

Synopsis

if numeric(eve::fname) is to be called then

#include <eve/module/core.hpp>

must be included.

Members Functions

auto operator()(eve::callable auto const& f ) const noexcept;
Parameters
fAn instance of eve::callable
Returns
A Callable Object performing the same kind of operation but while insuring a preference to return numeric values instead of Nans, whenever possible.