Public Member Functions | Static Public Member Functions | List of all members
blaze::Noop Struct Reference

Generic wrapper for the null function. More...

#include <Noop.h>

Public Member Functions

 Noop ()
 Default constructor of the Noop functor.
 
template<typename T >
decltype(auto) BLAZE_ALWAYS_INLINE operator() (const T &a) const
 Returns the given object/value without modifications. More...
 
template<typename T >
decltype(auto) BLAZE_ALWAYS_INLINE load (const T &a) const
 Returns the given SIMD vector without modifications. More...
 

Static Public Member Functions

template<typename T >
static constexpr bool simdEnabled ()
 Returns whether SIMD is enabled for the specified data type T. More...
 

Detailed Description

Generic wrapper for the null function.

Member Function Documentation

◆ load()

template<typename T >
decltype(auto) BLAZE_ALWAYS_INLINE blaze::Noop::load ( const T &  a) const
inline

Returns the given SIMD vector without modifications.

Parameters
aThe given SIMD vector.
Returns
The given SIMD vector without modifications.

◆ operator()()

template<typename T >
decltype(auto) BLAZE_ALWAYS_INLINE blaze::Noop::operator() ( const T &  a) const
inline

Returns the given object/value without modifications.

Parameters
aThe given object/value.
Returns
The given object/value without modifications.

◆ simdEnabled()

template<typename T >
static constexpr bool blaze::Noop::simdEnabled ( )
inlinestatic

Returns whether SIMD is enabled for the specified data type T.

Returns
true in case SIMD is enabled for the data type T, false if not.

The documentation for this struct was generated from the following file: