E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ replace_ignored

eve::replace_ignored = functor<replace_ignored_t>
inlineconstexpr

Header file

#include <eve/module/core.hpp>

A convinience wrapper around if_else.

Callable Signatures

namespace eve
{
template<simd_value T, relative_conditional_expr Ignore, value Other>
T replace_ignored(T x, Ignore ignore, Other with);
template<simd_value T, relative_conditional_expr Ignore, generator Other>
T replace_ignored(T x, Ignore ignore, Other with);
}
constexpr auto replace_ignored
A small helper to replace ignored values.
Definition replace.hpp:71
typename decltype(detail::as_translated_type(as< T >{}))::type translate_t
Returns the final translated type of T.
Definition translation.hpp:107
EVE Main Namespace.
Definition abi.hpp:19

Parameters

  • x - main value
  • ignore - selection
  • with - value to replace with

Return value

Same as if_else.