iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor Class Reference

#include <static_vector.hpp>

Public Member Functions

 ~UncheckedConstAccessor ()=default
 
 UncheckedConstAccessor (UncheckedConstAccessor const &)=delete
 
 UncheckedConstAccessor (UncheckedConstAccessor &&)=default
 
auto operator= (UncheckedConstAccessor const &) -> UncheckedConstAccessor &=delete
 
auto operator= (UncheckedConstAccessor &&) -> UncheckedConstAccessor &=delete
 
constexpr auto operator[] (SizeType index) const &&-> ConstReference
 
constexpr auto begin () const &&noexcept -> ConstIterator
 
constexpr auto end () const &&noexcept -> ConstIterator
 
constexpr auto data () const &&noexcept -> ConstPointer
 

Friends

class StaticVector
 

Detailed Description

template<typename T, uint64_t Capacity>
class iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor

Unchecked element access. Users of this class must ensure that all memory accesses stay within bounds of the accessed vector's memory.

Definition at line 54 of file static_vector.hpp.

Constructor & Destructor Documentation

◆ ~UncheckedConstAccessor()

template<typename T , uint64_t Capacity>
iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::~UncheckedConstAccessor ( )
default

◆ UncheckedConstAccessor() [1/2]

template<typename T , uint64_t Capacity>
iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::UncheckedConstAccessor ( UncheckedConstAccessor const &  )
delete

◆ UncheckedConstAccessor() [2/2]

template<typename T , uint64_t Capacity>
iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::UncheckedConstAccessor ( UncheckedConstAccessor &&  )
default

Member Function Documentation

◆ begin()

template<typename T , uint64_t Capacity>
constexpr auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::begin ( ) const && -> ConstIterator
inlineconstexprnoexcept

◆ data()

template<typename T , uint64_t Capacity>
constexpr auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::data ( ) const && -> ConstPointer
inlineconstexprnoexcept

◆ end()

template<typename T , uint64_t Capacity>
constexpr auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::end ( ) const && -> ConstIterator
inlineconstexprnoexcept

◆ operator=() [1/2]

template<typename T , uint64_t Capacity>
auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::operator= ( UncheckedConstAccessor &&  ) -> UncheckedConstAccessor &=delete
delete

◆ operator=() [2/2]

template<typename T , uint64_t Capacity>
auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::operator= ( UncheckedConstAccessor const &  ) -> UncheckedConstAccessor &=delete
delete

◆ operator[]()

template<typename T , uint64_t Capacity>
constexpr auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::operator[] ( SizeType  index) const && -> ConstReference
inlineconstexpr

Friends And Related Symbol Documentation

◆ StaticVector

template<typename T , uint64_t Capacity>
friend class StaticVector
friend

Definition at line 55 of file static_vector.hpp.


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