ape  0.5.0
Audio Programming Environment
Public Attributes | Static Public Attributes | List of all members
ape::vector_traits< V > Struct Template Reference

Traits for vector_register More...

#include <simd.h>

Public Attributes

decltype(V()[0]) typedef value_type
 The type of the element in the vector_register More...
 

Static Public Attributes

static constexpr std::size_t lanes = sizeof(V) / sizeof(value_type)
 How many lanes (or "width") of the register there is More...
 

Detailed Description

template<typename V>
struct ape::vector_traits< V >

Traits for vector_register

Member Data Documentation

◆ lanes

template<typename V >
constexpr std::size_t ape::vector_traits< V >::lanes = sizeof(V) / sizeof(value_type)
staticconstexpr

How many lanes (or "width") of the register there is

◆ value_type

template<typename V >
decltype(V()[0]) typedef ape::vector_traits< V >::value_type

The type of the element in the vector_register


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