iceoryx2
C++ 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>
auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::begin ( ) const &&->ConstIterator
inlineconstexprnoexcept

Definition at line 76 of file static_vector.hpp.

◆ data()

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

Definition at line 84 of file static_vector.hpp.

◆ end()

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

Definition at line 80 of file static_vector.hpp.

◆ 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>
auto iox2::bb::StaticVector< T, Capacity >::UncheckedConstAccessor::operator[] ( SizeType index) const &&->ConstReference
inlineconstexpr

Definition at line 72 of file static_vector.hpp.

◆ StaticVector

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

Definition at line 55 of file static_vector.hpp.

References StaticVector.

Referenced by StaticVector.


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