Blaze  3.6
Public Member Functions | List of all members
blaze::SIMDPack< T > Struct Template Reference

Base class for all SIMD data types.The SIMDPack class template is a base class for all SIMD data types within the Blaze library. It provides an abstraction from the actual type of the SIMD pack, but enables a conversion back to this type via the 'Curiously Recurring Template Pattern' (CRTP). More...

#include <SIMDPack.h>

Public Member Functions

BLAZE_ALWAYS_INLINE T & operator~ () noexcept
 Conversion operator for non-constant vectors. More...
 
BLAZE_ALWAYS_INLINE const T & operator~ () const noexcept
 Conversion operator for constant vectors. More...
 

Detailed Description

template<typename T>
struct blaze::SIMDPack< T >

Base class for all SIMD data types.

The SIMDPack class template is a base class for all SIMD data types within the Blaze library. It provides an abstraction from the actual type of the SIMD pack, but enables a conversion back to this type via the 'Curiously Recurring Template Pattern' (CRTP).

Member Function Documentation

◆ operator~() [1/2]

template<typename T>
BLAZE_ALWAYS_INLINE T& blaze::SIMDPack< T >::operator~ ( )
inlinenoexcept

Conversion operator for non-constant vectors.

Returns
Reference of the actual type of the vector.

◆ operator~() [2/2]

template<typename T>
BLAZE_ALWAYS_INLINE const T& blaze::SIMDPack< T >::operator~ ( ) const
inlinenoexcept

Conversion operator for constant vectors.

Returns
Const reference of the actual type of the vector.

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