Public Types | Public Member Functions | Private Attributes | List of all members
nonstd::span_lite::span< T, Extent > Class Template Reference

#include <span.hpp>

Public Types

enum  { extent = Extent }
 
typedef const_pointer const_iterator
 
typedef T const * const_pointer
 
typedef T const & const_reference
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::ptrdiff_t difference_type
 
typedef T element_type
 
typedef extent_t extent_type
 
typedef index_t index_type
 
typedef pointer iterator
 
typedef T * pointer
 
typedef T & reference
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std11::remove_cv< T >::type value_type
 

Public Member Functions

span_constexpr_exp reference back () const span_noexcept
 
span_constexpr iterator begin () const span_noexcept
 
span_constexpr const_iterator cbegin () const span_noexcept
 
span_constexpr const_iterator cend () const span_noexcept
 
span_constexpr const_reverse_iterator crbegin () const span_noexcept
 
span_constexpr const_reverse_iterator crend () const span_noexcept
 
span_constexpr pointer data () const span_noexcept
 
span_nodiscard span_constexpr bool empty () const span_noexcept
 
span_constexpr iterator end () const span_noexcept
 
template<extent_type Count>
span_constexpr_exp span< element_type, Countfirst () const
 
span_constexpr_exp span< element_type, dynamic_extentfirst (index_type count) const
 
span_constexpr_exp reference front () const span_noexcept
 
template<extent_type Count>
span_constexpr_exp span< element_type, Countlast () const
 
span_constexpr_exp span< element_type, dynamic_extentlast (index_type count) const
 
span_constexpr14 spanoperator= (span const &other) span_noexcept
 
span_constexpr_exp reference operator[] (index_type idx) const
 
span_constexpr reverse_iterator rbegin () const span_noexcept
 
span_constexpr reverse_iterator rend () const span_noexcept
 
span_constexpr index_type size () const span_noexcept
 
span_constexpr index_type size_bytes () const span_noexcept
 
span_constexpr span () span_noexcept
 
span_constexpr_exp span (pointer ptr, index_type count)
 
span_constexpr_exp span (pointer firstElem, pointer lastElem)
 
template<size_t N>
span_constexpr span (element_type(&arr)[N]) span_noexcept
 
span_constexpr span (span const &other) span_noexcept
 
template<class OtherElementType , extent_type OtherExtent>
span_constexpr_exp span (span< OtherElementType, OtherExtent > const &other) span_noexcept
 
span_constexpr std::ptrdiff_t ssize () const span_noexcept
 
template<index_type Offset, extent_type Count>
span_constexpr_exp span< element_type, Countsubspan () const
 
span_constexpr_exp span< element_type, dynamic_extentsubspan (index_type offset, index_type count=static_cast< index_type >(dynamic_extent)) const
 
 ~span () span_noexcept
 

Private Attributes

pointer data_
 
index_type size_
 

Detailed Description

template<class T, extent_t Extent>
class nonstd::span_lite::span< T, Extent >

Definition at line 500 of file span.hpp.

Member Typedef Documentation

template<class T, extent_t Extent>
typedef const_pointer nonstd::span_lite::span< T, Extent >::const_iterator

Definition at line 803 of file span.hpp.

template<class T, extent_t Extent>
typedef T const* nonstd::span_lite::span< T, Extent >::const_pointer

Definition at line 796 of file span.hpp.

template<class T, extent_t Extent>
typedef T const& nonstd::span_lite::span< T, Extent >::const_reference

Definition at line 797 of file span.hpp.

template<class T, extent_t Extent>
typedef std::reverse_iterator< const_iterator > nonstd::span_lite::span< T, Extent >::const_reverse_iterator

Definition at line 808 of file span.hpp.

template<class T, extent_t Extent>
typedef std::ptrdiff_t nonstd::span_lite::span< T, Extent >::difference_type

Definition at line 805 of file span.hpp.

template<class T, extent_t Extent>
typedef T nonstd::span_lite::span< T, Extent >::element_type

Definition at line 791 of file span.hpp.

template<class T, extent_t Extent>
typedef extent_t nonstd::span_lite::span< T, Extent >::extent_type

Definition at line 800 of file span.hpp.

template<class T, extent_t Extent>
typedef index_t nonstd::span_lite::span< T, Extent >::index_type

Definition at line 799 of file span.hpp.

template<class T, extent_t Extent>
typedef pointer nonstd::span_lite::span< T, Extent >::iterator

Definition at line 802 of file span.hpp.

template<class T, extent_t Extent>
typedef T* nonstd::span_lite::span< T, Extent >::pointer

Definition at line 795 of file span.hpp.

template<class T, extent_t Extent>
typedef T& nonstd::span_lite::span< T, Extent >::reference

Definition at line 794 of file span.hpp.

template<class T, extent_t Extent>
typedef std::reverse_iterator< iterator > nonstd::span_lite::span< T, Extent >::reverse_iterator

Definition at line 807 of file span.hpp.

template<class T, extent_t Extent>
typedef std11::remove_cv< T >::type nonstd::span_lite::span< T, Extent >::value_type

Definition at line 792 of file span.hpp.

Member Enumeration Documentation

template<class T, extent_t Extent>
anonymous enum
Enumerator
extent 

Definition at line 811 of file span.hpp.

Constructor & Destructor Documentation

template<class T, extent_t Extent>
span_constexpr nonstd::span_lite::span< T, Extent >::span ( )
inline

Definition at line 818 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp nonstd::span_lite::span< T, Extent >::span ( pointer  ptr,
index_type  count 
)
inline

Definition at line 826 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp nonstd::span_lite::span< T, Extent >::span ( pointer  firstElem,
pointer  lastElem 
)
inline

Definition at line 836 of file span.hpp.

template<class T, extent_t Extent>
template<size_t N>
span_constexpr nonstd::span_lite::span< T, Extent >::span ( element_type(&)  arr[N])
inline

Definition at line 853 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr nonstd::span_lite::span< T, Extent >::span ( span< T, Extent > const &  other)
inline

Definition at line 938 of file span.hpp.

template<class T, extent_t Extent>
nonstd::span_lite::span< T, Extent >::~span ( )
inline

Definition at line 943 of file span.hpp.

template<class T, extent_t Extent>
template<class OtherElementType , extent_type OtherExtent>
span_constexpr_exp nonstd::span_lite::span< T, Extent >::span ( span< OtherElementType, OtherExtent > const &  other)
inline

Definition at line 963 of file span.hpp.

Member Function Documentation

template<class T, extent_t Extent>
span_constexpr_exp reference nonstd::span_lite::span< T, Extent >::back ( ) const
inline

Definition at line 1106 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr iterator nonstd::span_lite::span< T, Extent >::begin ( ) const
inline

Definition at line 1129 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr const_iterator nonstd::span_lite::span< T, Extent >::cbegin ( ) const
inline

Definition at line 1147 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr const_iterator nonstd::span_lite::span< T, Extent >::cend ( ) const
inline

Definition at line 1156 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr const_reverse_iterator nonstd::span_lite::span< T, Extent >::crbegin ( ) const
inline

Definition at line 1175 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr const_reverse_iterator nonstd::span_lite::span< T, Extent >::crend ( ) const
inline

Definition at line 1180 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr pointer nonstd::span_lite::span< T, Extent >::data ( ) const
inline

Definition at line 1092 of file span.hpp.

template<class T, extent_t Extent>
span_nodiscard span_constexpr bool nonstd::span_lite::span< T, Extent >::empty ( ) const
inline

Definition at line 1052 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr iterator nonstd::span_lite::span< T, Extent >::end ( ) const
inline

Definition at line 1138 of file span.hpp.

template<class T, extent_t Extent>
template<extent_type Count>
span_constexpr_exp span< element_type, Count > nonstd::span_lite::span< T, Extent >::first ( ) const
inline

Definition at line 974 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp span< element_type, dynamic_extent > nonstd::span_lite::span< T, Extent >::first ( index_type  count) const
inline

Definition at line 1008 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp reference nonstd::span_lite::span< T, Extent >::front ( ) const
inline

Definition at line 1099 of file span.hpp.

template<class T, extent_t Extent>
template<extent_type Count>
span_constexpr_exp span< element_type, Count > nonstd::span_lite::span< T, Extent >::last ( ) const
inline

Definition at line 983 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp span< element_type, dynamic_extent > nonstd::span_lite::span< T, Extent >::last ( index_type  count) const
inline

Definition at line 1016 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr14 span& nonstd::span_lite::span< T, Extent >::operator= ( span< T, Extent > const &  other)
inline

Definition at line 946 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp reference nonstd::span_lite::span< T, Extent >::operator[] ( index_type  idx) const
inline

Definition at line 1059 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr reverse_iterator nonstd::span_lite::span< T, Extent >::rbegin ( ) const
inline

Definition at line 1165 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr reverse_iterator nonstd::span_lite::span< T, Extent >::rend ( ) const
inline

Definition at line 1170 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr index_type nonstd::span_lite::span< T, Extent >::size ( ) const
inline

Definition at line 1037 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr index_type nonstd::span_lite::span< T, Extent >::size_bytes ( ) const
inline

Definition at line 1047 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr std::ptrdiff_t nonstd::span_lite::span< T, Extent >::ssize ( ) const
inline

Definition at line 1042 of file span.hpp.

template<class T, extent_t Extent>
template<index_type Offset, extent_type Count>
span_constexpr_exp span< element_type, Count > nonstd::span_lite::span< T, Extent >::subspan ( ) const
inline

Definition at line 996 of file span.hpp.

template<class T, extent_t Extent>
span_constexpr_exp span< element_type, dynamic_extent > nonstd::span_lite::span< T, Extent >::subspan ( index_type  offset,
index_type  count = static_cast<index_type>(dynamic_extent) 
) const
inline

Definition at line 1024 of file span.hpp.

Member Data Documentation

template<class T, extent_t Extent>
pointer nonstd::span_lite::span< T, Extent >::data_
private

Definition at line 1186 of file span.hpp.

template<class T, extent_t Extent>
index_type nonstd::span_lite::span< T, Extent >::size_
private

Definition at line 1187 of file span.hpp.


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


ros_type_introspection
Author(s): Davide Faconti
autogenerated on Sun Sep 6 2020 03:19:54