scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::detail::array< T, N > Struct Template Reference

#include <util.h>

Public Types

using value_type = T
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using reference = T &
 
using const_reference = const T &
 
using pointer = T *
 
using const_pointer = const T *
 
using iterator = pointer
 
using const_iterator = const_pointer
 

Public Member Functions

SCN_CONSTEXPR14 reference operator[] (size_type i)
 
constexpr const_reference operator[] (size_type i) const
 
SCN_CONSTEXPR14 iterator begin () noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
SCN_CONSTEXPR14 iterator end () noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
SCN_CONSTEXPR14 pointer data () noexcept
 
constexpr const_pointer data () const noexcept
 
constexpr size_type size () const noexcept
 

Public Attributes

m_data [N]
 

Detailed Description

template<typename T, std::size_t N>
struct scn::detail::array< T, N >

Definition at line 636 of file util.h.

Member Typedef Documentation

template<typename T, std::size_t N>
using scn::detail::array< T, N >::const_iterator = const_pointer

Definition at line 647 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::const_pointer = const T*

Definition at line 645 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::const_reference = const T&

Definition at line 643 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::difference_type = std::ptrdiff_t

Definition at line 641 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::iterator = pointer

Definition at line 646 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::pointer = T*

Definition at line 644 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::reference = T&

Definition at line 642 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::size_type = std::size_t

Definition at line 640 of file util.h.

template<typename T, std::size_t N>
using scn::detail::array< T, N >::value_type = T

Definition at line 639 of file util.h.

Member Function Documentation

template<typename T, std::size_t N>
SCN_CONSTEXPR14 iterator scn::detail::array< T, N >::begin ( )
inlinenoexcept

Definition at line 660 of file util.h.

template<typename T, std::size_t N>
constexpr const_iterator scn::detail::array< T, N >::begin ( ) const
inlinenoexcept

Definition at line 664 of file util.h.

template<typename T, std::size_t N>
constexpr const_iterator scn::detail::array< T, N >::cbegin ( ) const
inlinenoexcept

Definition at line 668 of file util.h.

template<typename T, std::size_t N>
constexpr const_iterator scn::detail::array< T, N >::cend ( ) const
inlinenoexcept

Definition at line 681 of file util.h.

template<typename T, std::size_t N>
SCN_CONSTEXPR14 pointer scn::detail::array< T, N >::data ( )
inlinenoexcept

Definition at line 686 of file util.h.

template<typename T, std::size_t N>
constexpr const_pointer scn::detail::array< T, N >::data ( ) const
inlinenoexcept

Definition at line 690 of file util.h.

template<typename T, std::size_t N>
SCN_CONSTEXPR14 iterator scn::detail::array< T, N >::end ( )
inlinenoexcept

Definition at line 673 of file util.h.

template<typename T, std::size_t N>
constexpr const_iterator scn::detail::array< T, N >::end ( ) const
inlinenoexcept

Definition at line 677 of file util.h.

template<typename T, std::size_t N>
SCN_CONSTEXPR14 reference scn::detail::array< T, N >::operator[] ( size_type  i)
inline

Definition at line 649 of file util.h.

template<typename T, std::size_t N>
constexpr const_reference scn::detail::array< T, N >::operator[] ( size_type  i) const
inline

Definition at line 654 of file util.h.

template<typename T, std::size_t N>
constexpr size_type scn::detail::array< T, N >::size ( ) const
inlinenoexcept

Definition at line 695 of file util.h.

Member Data Documentation

template<typename T, std::size_t N>
T scn::detail::array< T, N >::m_data[N]

Definition at line 700 of file util.h.


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