Expression Templates Library (ETL)
Static Public Member Functions | Static Public Attributes | List of all members
etl::etl_traits< T > Struct Template Reference

Traits to get information about ETL types. More...

#include <tmp.hpp>

Static Public Member Functions

static constexpr size_t dimensions ()
 Return the number of dimensions of the expression. More...
 

Static Public Attributes

static constexpr bool is_etl = false
 Indicates if T is an ETL type.
 
static constexpr bool is_transformer = false
 Indicates if T is a transformer.
 
static constexpr bool is_view = false
 Indicates if T is a view.
 
static constexpr bool is_magic_view = false
 Indicates if T is a magic view.
 
static constexpr bool is_fast = false
 Indicates if T is a fast structure.
 
static constexpr bool is_generator = false
 Indicates if T is a generator expression.
 

Detailed Description

template<typename T>
struct etl::etl_traits< T >

Traits to get information about ETL types.

For non-ETL types, is_etl is false and in that case, no other fields should be used on the traits.

Template Parameters
Tthe type to introspect

Member Function Documentation

◆ dimensions()

template<typename T>
etl::decay_traits::dimensions ( )
inlinestatic

Return the number of dimensions of the expression.

Assign to the given left-hand-side expression.

Parameters
lhsThe expression to which assign

Add to the given left-hand-side expression

Parameters
lhsThe expression to which assign

Sub from the given left-hand-side expression

Parameters
lhsThe expression to which assign

Multiply the given left-hand-side expression

Parameters
lhsThe expression to which assign

Divide the given left-hand-side expression

Parameters
lhsThe expression to which assign

Modulo the given left-hand-side expression

Parameters
lhsThe expression to which assign

Return a GPU computed version of this expression

Returns
a GPU-computed ETL expression for this expression

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