CRTP base class giving an EVE's Callable Object the elementwise function semantic. More...
#include <eve/traits/overload/default_behaviors.hpp>
Defined in Header
Elementwise functions in EVE are built using a very common pattern. Inheriting from eve::elementwise_callable simplifies the implementation of such Callable Object by just requiring the definition of the architecture specific implementations functions.
Elementwise functions in EVE automatically supports masking, aggregated and emulated cases. Elementwise Callable Object are also able to handle mixed SIMD/Scalar calls by performing all the required conversions, letting the implementation of the deferred overload named in the EVE_CALLABLE_OBJECT to only handle common type cases.
Func | Type of current Callable Object being implemented. |
OptionsValues | Type of stored options. |
Options | List of supported option specifications. |
Public Member Functions | |
constexpr auto | operator[] (O o) const |
Adds an option to current callable. | |
constexpr auto | options () const |
Retrieves the current options' state, including processed default. | |