E.V.E
v2022.09.01

◆ almost

eve::almost = {}
inlineconstexpr

Higher-order Callable Object imbuing a tolerant to little errors semantic onto other Callable Objects.

Synopsis

if almost(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 that a small error on the parameters will not affect the result.

almost is currently supported by eve::is_greater_equal, eve::is_less_equal, eve::is_not_greater, eve::is_not_less and eve::is_equal object functions.