MeshLib Documentation
Loading...
Searching...
No Matches
MR::VectorTraits< T > Struct Template Reference

#include <MRVectorTraits.h>

Public Types

using BaseType = T
 
template<typename U >
using ChangeBaseType = U
 

Static Public Member Functions

template<typename U >
static constexpr auto && getElem (int i, U &&value)
 
template<typename U = T>
static constexpr U diagonal (U v)
 

Static Public Attributes

static constexpr int size = 1
 
static constexpr bool supportNoInit = false
 

Member Typedef Documentation

◆ BaseType

template<typename T >
using MR::VectorTraits< T >::BaseType = T

◆ ChangeBaseType

template<typename T >
template<typename U >
using MR::VectorTraits< T >::ChangeBaseType = U

Member Function Documentation

◆ diagonal()

template<typename T >
template<typename U = T>
static constexpr U MR::VectorTraits< T >::diagonal ( U v)
inlinestaticconstexpr

◆ getElem()

template<typename T >
template<typename U >
static constexpr auto && MR::VectorTraits< T >::getElem ( int i,
U && value )
inlinestaticnodiscardconstexpr

Member Data Documentation

◆ size

template<typename T >
int MR::VectorTraits< T >::size = 1
staticconstexpr

◆ supportNoInit

template<typename T >
bool MR::VectorTraits< T >::supportNoInit = false
staticconstexpr

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