SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::Array< T, N > Struct Template Reference

#include <array.h>

Public Types

using size_type = size_t
using value_type = T

Public Member Functions

constexpr T & back ()
constexpr T const & back () const
constexpr T * begin ()
constexpr T const * begin () const
constexpr T * data ()
constexpr T const * data () const
constexpr T * end ()
constexpr T const * end () const
constexpr T & front ()
constexpr T const & front () const
constexpr T & operator[] (size_type i)
constexpr T const & operator[] (size_type i) const

Static Public Member Functions

static constexpr size_type size ()

Public Attributes

v [N]

Detailed Description

template<typename T, size_t N>
struct superdex::Array< T, N >

Definition at line 27 of file array.h.

Member Typedef Documentation

◆ size_type

template<typename T, size_t N>
using superdex::Array< T, N >::size_type = size_t

Definition at line 30 of file array.h.

◆ value_type

template<typename T, size_t N>
using superdex::Array< T, N >::value_type = T

Definition at line 29 of file array.h.

Member Function Documentation

◆ back() [1/2]

template<typename T, size_t N>
T & superdex::Array< T, N >::back ( )
inlinenodiscardconstexpr

Definition at line 37 of file array.h.

◆ back() [2/2]

template<typename T, size_t N>
T const & superdex::Array< T, N >::back ( ) const
inlinenodiscardconstexpr

Definition at line 38 of file array.h.

◆ begin() [1/2]

template<typename T, size_t N>
T * superdex::Array< T, N >::begin ( )
inlinenodiscardconstexpr

Definition at line 41 of file array.h.

◆ begin() [2/2]

template<typename T, size_t N>
T const * superdex::Array< T, N >::begin ( ) const
inlinenodiscardconstexpr

Definition at line 42 of file array.h.

◆ data() [1/2]

template<typename T, size_t N>
T * superdex::Array< T, N >::data ( )
inlinenodiscardconstexpr

Definition at line 39 of file array.h.

◆ data() [2/2]

template<typename T, size_t N>
T const * superdex::Array< T, N >::data ( ) const
inlinenodiscardconstexpr

Definition at line 40 of file array.h.

◆ end() [1/2]

template<typename T, size_t N>
T * superdex::Array< T, N >::end ( )
inlinenodiscardconstexpr

Definition at line 43 of file array.h.

◆ end() [2/2]

template<typename T, size_t N>
T const * superdex::Array< T, N >::end ( ) const
inlinenodiscardconstexpr

Definition at line 44 of file array.h.

◆ front() [1/2]

template<typename T, size_t N>
T & superdex::Array< T, N >::front ( )
inlinenodiscardconstexpr

Definition at line 35 of file array.h.

◆ front() [2/2]

template<typename T, size_t N>
T const & superdex::Array< T, N >::front ( ) const
inlinenodiscardconstexpr

Definition at line 36 of file array.h.

◆ operator[]() [1/2]

template<typename T, size_t N>
T & superdex::Array< T, N >::operator[] ( size_type i)
inlinenodiscardconstexpr

Definition at line 33 of file array.h.

◆ operator[]() [2/2]

template<typename T, size_t N>
T const & superdex::Array< T, N >::operator[] ( size_type i) const
inlinenodiscardconstexpr

Definition at line 34 of file array.h.

◆ size()

template<typename T, size_t N>
constexpr size_type superdex::Array< T, N >::size ( )
inlinestaticnodiscardconstexpr

Definition at line 45 of file array.h.

Member Data Documentation

◆ v

template<typename T, size_t N>
T superdex::Array< T, N >::v[N]

Definition at line 46 of file array.h.


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