openMSX
|
#include <static_vector.hh>
Public Types | |
using | value_type = T |
using | reference = value_type & |
using | const_reference = const value_type & |
using | iterator = value_type * |
using | const_iterator = const value_type * |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | size_type = size_t |
using | difference_type = ptrdiff_t |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
Public Member Functions | |
constexpr | static_vector ()=default |
constexpr | static_vector (std::initializer_list< T > list) |
template<typename Range > | |
constexpr | static_vector (from_range_t, Range &&range) |
constexpr auto | begin () noexcept |
constexpr auto | begin () const noexcept |
constexpr auto | end () noexcept |
constexpr auto | end () const noexcept |
constexpr auto | rbegin () noexcept |
constexpr auto | rbegin () const noexcept |
constexpr auto | rend () noexcept |
constexpr auto | rend () const noexcept |
constexpr size_t | size () const noexcept |
constexpr size_t | max_size () const noexcept |
constexpr bool | empty () const noexcept |
constexpr T & | operator[] (size_t index) noexcept |
constexpr const T & | operator[] (size_t index) const noexcept |
constexpr T & | front () noexcept |
constexpr const T & | front () const noexcept |
constexpr T & | back () noexcept |
constexpr const T & | back () const noexcept |
constexpr T * | data () noexcept |
constexpr const T * | data () const noexcept |
constexpr void | push_back (const T &a) |
constexpr void | push_back (T &&a) |
template<typename... Args> | |
constexpr T & | emplace_back (Args &&... args) |
constexpr void | pop_back () noexcept |
constexpr void | clear () noexcept |
operator std::span< T > () noexcept | |
operator std::span< const T > () const noexcept | |
Definition at line 33 of file static_vector.hh.
using static_vector< T, N >::const_iterator = const value_type* |
Definition at line 46 of file static_vector.hh.
using static_vector< T, N >::const_pointer = const value_type* |
Definition at line 48 of file static_vector.hh.
using static_vector< T, N >::const_reference = const value_type& |
Definition at line 44 of file static_vector.hh.
using static_vector< T, N >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 52 of file static_vector.hh.
using static_vector< T, N >::difference_type = ptrdiff_t |
Definition at line 50 of file static_vector.hh.
using static_vector< T, N >::iterator = value_type* |
Definition at line 45 of file static_vector.hh.
using static_vector< T, N >::pointer = value_type* |
Definition at line 47 of file static_vector.hh.
using static_vector< T, N >::reference = value_type& |
Definition at line 43 of file static_vector.hh.
using static_vector< T, N >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 51 of file static_vector.hh.
using static_vector< T, N >::size_type = size_t |
Definition at line 49 of file static_vector.hh.
using static_vector< T, N >::value_type = T |
Definition at line 42 of file static_vector.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 56 of file static_vector.hh.
References ranges::copy().
|
inlineconstexpr |
Definition at line 63 of file static_vector.hh.
References static_vector< T, N >::push_back().
|
inlineconstexprnoexcept |
Definition at line 87 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 86 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 70 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 69 of file static_vector.hh.
Referenced by static_vector< T, N >::rend(), and static_vector< T, N >::rend().
|
inlineconstexprnoexcept |
Definition at line 99 of file static_vector.hh.
Referenced by PerfectMinimalHash::create().
|
inlineconstexprnoexcept |
Definition at line 89 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 88 of file static_vector.hh.
|
inlineconstexpr |
Definition at line 93 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 80 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 72 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 71 of file static_vector.hh.
Referenced by static_vector< T, N >::rbegin(), and static_vector< T, N >::rbegin().
|
inlineconstexprnoexcept |
Definition at line 85 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 84 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 79 of file static_vector.hh.
|
inlinenoexcept |
Definition at line 102 of file static_vector.hh.
|
inlinenoexcept |
Definition at line 101 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 83 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 82 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 98 of file static_vector.hh.
|
inlineconstexpr |
Definition at line 91 of file static_vector.hh.
Referenced by PerfectMinimalHash::create(), and static_vector< T, N >::static_vector().
|
inlineconstexpr |
Definition at line 92 of file static_vector.hh.
|
inlineconstexprnoexcept |
Definition at line 74 of file static_vector.hh.
References static_vector< T, N >::end().
|
inlineconstexprnoexcept |
Definition at line 73 of file static_vector.hh.
References static_vector< T, N >::end().
|
inlineconstexprnoexcept |
Definition at line 76 of file static_vector.hh.
References static_vector< T, N >::begin().
|
inlineconstexprnoexcept |
Definition at line 75 of file static_vector.hh.
References static_vector< T, N >::begin().
|
inlineconstexprnoexcept |
Definition at line 78 of file static_vector.hh.
Referenced by PerfectMinimalHash::create(), openmsx::ImGuiBitmapViewer::paint(), and openmsx::AmdFlash::AutoSelect::validate().