uTL
micro Template library
utl::array_traits< _Tp, _Nm > Struct Template Reference

array container traits helper More...

#include <array.h>

Public Types

typedef _Tp type[_Nm]
 

Static Public Member Functions

static constexpr _Tp & Ref (const type &t, size_t n) noexcept
 
static constexpr _Tp * Ptr (const type &t) noexcept
 

Detailed Description

template<typename _Tp, size_t _Nm>
struct utl::array_traits< _Tp, _Nm >

array container traits helper

Definition at line 36 of file array.h.

Member Typedef Documentation

◆ type

template<typename _Tp , size_t _Nm>
typedef _Tp utl::array_traits< _Tp, _Nm >::type[_Nm]

Definition at line 37 of file array.h.

Member Function Documentation

◆ Ptr()

template<typename _Tp , size_t _Nm>
static constexpr _Tp* utl::array_traits< _Tp, _Nm >::Ptr ( const type t)
inlinestaticnoexcept

Definition at line 43 of file array.h.

◆ Ref()

template<typename _Tp , size_t _Nm>
static constexpr _Tp& utl::array_traits< _Tp, _Nm >::Ref ( const type t,
size_t  n 
)
inlinestaticnoexcept

Definition at line 39 of file array.h.


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