plugify 1.2.6
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
plg::vector< T, Allocator > Class Template Reference

Public Types

using value_type = T
 
using allocator_type = Allocator
 
using size_type = typename allocator_traits::size_type
 
using difference_type = typename allocator_traits::difference_type
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = typename allocator_traits::pointer
 
using const_pointer = typename allocator_traits::const_pointer
 
using iterator = vector_iterator< Allocator >
 
using const_iterator = vector_const_iterator< Allocator >
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

constexpr vector (const Allocator &allocator) noexcept
 
constexpr vector (size_type count, const T &value, const Allocator &allocator=Allocator())
 
constexpr vector (size_type count, const Allocator &allocator=Allocator())
 
template<std::input_iterator InputIterator>
constexpr vector (InputIterator first, InputIterator last, const Allocator &allocator=Allocator())
 
constexpr vector (const vector &other)
 
constexpr vector (const vector &other, const Allocator &allocator)
 
constexpr vector (vector &&other) noexcept(std::is_nothrow_move_constructible< Allocator >::value)
 
constexpr vector (vector &&other, const Allocator &allocator)
 
constexpr vector (std::initializer_list< T > list, const Allocator &allocator=Allocator())
 
constexpr vectoroperator= (const vector &other)
 
constexpr vectoroperator= (vector &&other) noexcept(std::allocator_traits< Allocator >::propagate_on_container_move_assignment::value||std::allocator_traits< Allocator >::is_always_equal::value)
 
constexpr vectoroperator= (std::initializer_list< T > list)
 
constexpr void assign (size_type count, const T &value)
 
template<std::input_iterator InputIterator>
constexpr void assign (InputIterator first, InputIterator last)
 
constexpr void assign (std::initializer_list< T > list)
 
constexpr allocator_type get_allocator () const
 
constexpr reference at (size_type position)
 
constexpr const_reference at (size_type position) const
 
constexpr reference operator[] (size_type position) noexcept
 
constexpr const_reference operator[] (size_type position) const noexcept
 
constexpr reference front ()
 
constexpr const_reference front () const
 
constexpr reference back ()
 
constexpr const_reference back () const
 
constexpr Tdata () noexcept
 
constexpr const Tdata () const noexcept
 
constexpr iterator begin () noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr iterator end () noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
constexpr reverse_iterator rbegin () noexcept
 
constexpr const_reverse_iterator rbegin () const noexcept
 
constexpr const_reverse_iterator crbegin () const noexcept
 
constexpr reverse_iterator rend () noexcept
 
constexpr const_reverse_iterator rend () const noexcept
 
constexpr const_reverse_iterator crend () const noexcept
 
constexpr bool empty () const
 
constexpr size_type size () const noexcept
 
constexpr size_type max_size () const noexcept
 
constexpr void reserve (size_type new_capacity)
 
constexpr size_type capacity () const noexcept
 
constexpr void shrink_to_fit ()
 
constexpr void clear () noexcept
 
constexpr iterator insert (const_iterator position, const T &value)
 
constexpr iterator insert (const_iterator position, T &&value)
 
constexpr iterator insert (const_iterator position, size_type count, const T &value)
 
template<std::input_iterator InputIterator>
constexpr iterator insert (const_iterator position, InputIterator first, InputIterator last)
 
constexpr iterator insert (const_iterator position, std::initializer_list< T > list)
 
template<typename... Args>
iterator emplace (const_iterator position, Args &&... args)
 
constexpr iterator erase (const_iterator position)
 
constexpr iterator erase (const_iterator first, const_iterator last)
 
constexpr void push_back (const T &value)
 
constexpr void push_back (T &&value)
 
template<typename... Args>
constexpr reference emplace_back (Args &&... args)
 
constexpr void pop_back ()
 
constexpr void resize (size_type count)
 
constexpr void resize (size_type count, const T &value)
 
constexpr vectoroperator+= (const T &value)
 
constexpr vectoroperator+= (T &&value)
 
constexpr vectoroperator+= (const vector &other)
 
constexpr vectoroperator+= (vector &&other)
 
constexpr void swap (vector &other) noexcept(std::allocator_traits< Allocator >::propagate_on_container_swap::value||std::allocator_traits< Allocator >::is_always_equal::value)
 
constexpr std::span< const Tspan () const noexcept
 
constexpr std::span< Tspan () noexcept
 
template<size_type Size>
constexpr std::span< T, Sizespan_size ()
 
template<size_type Size>
constexpr std::span< const T, Sizeconst_span_size () const
 
constexpr std::span< const std::byte > byte_span () const noexcept
 
constexpr std::span< std::byte > byte_span () noexcept
 
constexpr bool contains (const T &elem) const
 
template<typename F >
constexpr bool contains_if (F predicate)
 
constexpr auto find (const T &value) const
 
constexpr auto find (const T &value)
 
template<typename F >
constexpr auto find_if (F predicate) const
 
template<typename F >
constexpr auto find_if (F predicate)
 
constexpr std::optional< size_type > find_index (const T &value)
 
constexpr std::optional< size_type > find_index (const T &value) const
 
template<typename F >
constexpr std::optional< size_type > find_index_if (F predicate)
 
template<typename F >
constexpr std::optional< size_type > find_index_if (F predicate) const
 

Protected Attributes

allocator_type _allocator
 
pointer _begin
 
pointer _end
 
pointer _capacity
 

Detailed Description

template<typename T, typename Allocator = plg::allocator<T>>
class plg::vector< T, Allocator >

Definition at line 247 of file vector.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::allocator_type = Allocator

Definition at line 251 of file vector.hpp.

◆ const_iterator

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::const_iterator = vector_const_iterator<Allocator>

Definition at line 259 of file vector.hpp.

◆ const_pointer

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::const_pointer = typename allocator_traits::const_pointer

Definition at line 257 of file vector.hpp.

◆ const_reference

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::const_reference = const value_type&

Definition at line 255 of file vector.hpp.

◆ const_reverse_iterator

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 261 of file vector.hpp.

◆ difference_type

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::difference_type = typename allocator_traits::difference_type

Definition at line 253 of file vector.hpp.

◆ iterator

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::iterator = vector_iterator<Allocator>

Definition at line 258 of file vector.hpp.

◆ pointer

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::pointer = typename allocator_traits::pointer

Definition at line 256 of file vector.hpp.

◆ reference

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::reference = value_type&

Definition at line 254 of file vector.hpp.

◆ reverse_iterator

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::reverse_iterator = std::reverse_iterator<iterator>

Definition at line 260 of file vector.hpp.

◆ size_type

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::size_type = typename allocator_traits::size_type

Definition at line 252 of file vector.hpp.

◆ value_type

template<typename T , typename Allocator = plg::allocator<T>>
using plg::vector< T, Allocator >::value_type = T

Definition at line 250 of file vector.hpp.

Constructor & Destructor Documentation

◆ vector() [1/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( )
inlineconstexprnoexcept

Definition at line 366 of file vector.hpp.

◆ vector() [2/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( const Allocator allocator)
inlineexplicitconstexprnoexcept

Definition at line 370 of file vector.hpp.

◆ vector() [3/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( size_type  count,
const T value,
const Allocator allocator = Allocator() 
)
inlineconstexpr

Definition at line 374 of file vector.hpp.

◆ vector() [4/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( size_type  count,
const Allocator allocator = Allocator() 
)
inlineexplicitconstexpr

Definition at line 383 of file vector.hpp.

◆ vector() [5/10]

template<typename T , typename Allocator = plg::allocator<T>>
template<std::input_iterator InputIterator>
constexpr plg::vector< T, Allocator >::vector ( InputIterator  first,
InputIterator  last,
const Allocator allocator = Allocator() 
)
inlineconstexpr

Definition at line 393 of file vector.hpp.

◆ vector() [6/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( const vector< T, Allocator > &  other)
inlineconstexpr

Definition at line 399 of file vector.hpp.

◆ vector() [7/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( const vector< T, Allocator > &  other,
const Allocator allocator 
)
inlineconstexpr

Definition at line 404 of file vector.hpp.

◆ vector() [8/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( vector< T, Allocator > &&  other)
inlineconstexprnoexcept

Definition at line 409 of file vector.hpp.

◆ vector() [9/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( vector< T, Allocator > &&  other,
const Allocator allocator 
)
inlineconstexpr

Definition at line 414 of file vector.hpp.

◆ vector() [10/10]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::vector ( std::initializer_list< T list,
const Allocator allocator = Allocator() 
)
inlineconstexpr

Definition at line 431 of file vector.hpp.

◆ ~vector()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr plg::vector< T, Allocator >::~vector ( )
inlineconstexpr

Definition at line 444 of file vector.hpp.

Member Function Documentation

◆ assign() [1/3]

template<typename T , typename Allocator = plg::allocator<T>>
template<std::input_iterator InputIterator>
constexpr void plg::vector< T, Allocator >::assign ( InputIterator  first,
InputIterator  last 
)
inlineconstexpr

Definition at line 525 of file vector.hpp.

◆ assign() [2/3]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::assign ( size_type  count,
const T value 
)
inlineconstexpr

Definition at line 505 of file vector.hpp.

◆ assign() [3/3]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::assign ( std::initializer_list< T list)
inlineconstexpr

Definition at line 545 of file vector.hpp.

◆ at() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reference plg::vector< T, Allocator >::at ( size_type  position)
inlineconstexpr

Definition at line 562 of file vector.hpp.

◆ at() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reference plg::vector< T, Allocator >::at ( size_type  position) const
inlineconstexpr

Definition at line 567 of file vector.hpp.

◆ back() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reference plg::vector< T, Allocator >::back ( )
inlineconstexpr

Definition at line 590 of file vector.hpp.

◆ back() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reference plg::vector< T, Allocator >::back ( ) const
inlineconstexpr

Definition at line 595 of file vector.hpp.

◆ begin() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_iterator plg::vector< T, Allocator >::begin ( ) const
inlineconstexprnoexcept

Definition at line 613 of file vector.hpp.

◆ begin() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::begin ( )
inlineconstexprnoexcept

Definition at line 609 of file vector.hpp.

◆ byte_span() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::span< const std::byte > plg::vector< T, Allocator >::byte_span ( ) const
inlineconstexprnoexcept

Definition at line 933 of file vector.hpp.

◆ byte_span() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::span< std::byte > plg::vector< T, Allocator >::byte_span ( )
inlineconstexprnoexcept

Definition at line 937 of file vector.hpp.

◆ capacity()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr size_type plg::vector< T, Allocator >::capacity ( ) const
inlineconstexprnoexcept

Definition at line 677 of file vector.hpp.

◆ cbegin()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_iterator plg::vector< T, Allocator >::cbegin ( ) const
inlineconstexprnoexcept

Definition at line 617 of file vector.hpp.

◆ cend()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_iterator plg::vector< T, Allocator >::cend ( ) const
inlineconstexprnoexcept

Definition at line 629 of file vector.hpp.

◆ clear()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::clear ( )
inlineconstexprnoexcept

Definition at line 686 of file vector.hpp.

◆ const_span_size()

template<typename T , typename Allocator = plg::allocator<T>>
template<size_type Size>
constexpr std::span< const T, Size > plg::vector< T, Allocator >::const_span_size ( ) const
inlineconstexpr

Definition at line 928 of file vector.hpp.

◆ contains()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr bool plg::vector< T, Allocator >::contains ( const T elem) const
inlineconstexpr

Definition at line 941 of file vector.hpp.

◆ contains_if()

template<typename T , typename Allocator = plg::allocator<T>>
template<typename F >
constexpr bool plg::vector< T, Allocator >::contains_if ( F  predicate)
inlineconstexpr

Definition at line 946 of file vector.hpp.

◆ crbegin()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reverse_iterator plg::vector< T, Allocator >::crbegin ( ) const
inlineconstexprnoexcept

Definition at line 641 of file vector.hpp.

◆ crend()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reverse_iterator plg::vector< T, Allocator >::crend ( ) const
inlineconstexprnoexcept

Definition at line 653 of file vector.hpp.

◆ data() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const T * plg::vector< T, Allocator >::data ( ) const
inlineconstexprnoexcept

Definition at line 604 of file vector.hpp.

◆ data() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr T * plg::vector< T, Allocator >::data ( )
inlineconstexprnoexcept

Definition at line 600 of file vector.hpp.

◆ emplace()

template<typename T , typename Allocator = plg::allocator<T>>
template<typename... Args>
iterator plg::vector< T, Allocator >::emplace ( const_iterator  position,
Args &&...  args 
)
inline

Definition at line 771 of file vector.hpp.

◆ emplace_back()

template<typename T , typename Allocator = plg::allocator<T>>
template<typename... Args>
constexpr reference plg::vector< T, Allocator >::emplace_back ( Args &&...  args)
inlineconstexpr

Definition at line 846 of file vector.hpp.

◆ empty()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr bool plg::vector< T, Allocator >::empty ( ) const
inlineconstexpr

Definition at line 658 of file vector.hpp.

◆ end() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_iterator plg::vector< T, Allocator >::end ( ) const
inlineconstexprnoexcept

Definition at line 625 of file vector.hpp.

◆ end() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::end ( )
inlineconstexprnoexcept

Definition at line 621 of file vector.hpp.

◆ erase() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::erase ( const_iterator  first,
const_iterator  last 
)
inlineconstexpr

Definition at line 813 of file vector.hpp.

◆ erase() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::erase ( const_iterator  position)
inlineconstexpr

Definition at line 803 of file vector.hpp.

◆ find() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr auto plg::vector< T, Allocator >::find ( const T value)
inlineconstexpr

Definition at line 954 of file vector.hpp.

◆ find() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr auto plg::vector< T, Allocator >::find ( const T value) const
inlineconstexpr

Definition at line 950 of file vector.hpp.

◆ find_if() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
template<typename F >
constexpr auto plg::vector< T, Allocator >::find_if ( F  predicate)
inlineconstexpr

Definition at line 964 of file vector.hpp.

◆ find_if() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
template<typename F >
constexpr auto plg::vector< T, Allocator >::find_if ( F  predicate) const
inlineconstexpr

Definition at line 959 of file vector.hpp.

◆ find_index() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::optional< size_type > plg::vector< T, Allocator >::find_index ( const T value)
inlineconstexpr

Definition at line 968 of file vector.hpp.

◆ find_index() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::optional< size_type > plg::vector< T, Allocator >::find_index ( const T value) const
inlineconstexpr

Definition at line 977 of file vector.hpp.

◆ find_index_if() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
template<typename F >
constexpr std::optional< size_type > plg::vector< T, Allocator >::find_index_if ( F  predicate)
inlineconstexpr

Definition at line 987 of file vector.hpp.

◆ find_index_if() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
template<typename F >
constexpr std::optional< size_type > plg::vector< T, Allocator >::find_index_if ( F  predicate) const
inlineconstexpr

Definition at line 997 of file vector.hpp.

◆ front() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reference plg::vector< T, Allocator >::front ( )
inlineconstexpr

Definition at line 580 of file vector.hpp.

◆ front() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reference plg::vector< T, Allocator >::front ( ) const
inlineconstexpr

Definition at line 585 of file vector.hpp.

◆ get_allocator()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr allocator_type plg::vector< T, Allocator >::get_allocator ( ) const
inlineconstexpr

Definition at line 557 of file vector.hpp.

◆ insert() [1/5]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::insert ( const_iterator  position,
const T value 
)
inlineconstexpr

Definition at line 691 of file vector.hpp.

◆ insert() [2/5]

template<typename T , typename Allocator = plg::allocator<T>>
template<std::input_iterator InputIterator>
constexpr iterator plg::vector< T, Allocator >::insert ( const_iterator  position,
InputIterator  first,
InputIterator  last 
)
inlineconstexpr

Definition at line 729 of file vector.hpp.

◆ insert() [3/5]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::insert ( const_iterator  position,
size_type  count,
const T value 
)
inlineconstexpr

Definition at line 699 of file vector.hpp.

◆ insert() [4/5]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::insert ( const_iterator  position,
std::initializer_list< T list 
)
inlineconstexpr

Definition at line 759 of file vector.hpp.

◆ insert() [5/5]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr iterator plg::vector< T, Allocator >::insert ( const_iterator  position,
T &&  value 
)
inlineconstexpr

Definition at line 695 of file vector.hpp.

◆ max_size()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr size_type plg::vector< T, Allocator >::max_size ( ) const
inlineconstexprnoexcept

Definition at line 666 of file vector.hpp.

◆ operator+=() [1/4]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator+= ( const T value)
inlineconstexpr

Definition at line 872 of file vector.hpp.

◆ operator+=() [2/4]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator+= ( const vector< T, Allocator > &  other)
inlineconstexpr

Definition at line 882 of file vector.hpp.

◆ operator+=() [3/4]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator+= ( T &&  value)
inlineconstexpr

Definition at line 877 of file vector.hpp.

◆ operator+=() [4/4]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator+= ( vector< T, Allocator > &&  other)
inlineconstexpr

Definition at line 887 of file vector.hpp.

◆ operator=() [1/3]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator= ( const vector< T, Allocator > &  other)
inlineconstexpr

Definition at line 450 of file vector.hpp.

◆ operator=() [2/3]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator= ( std::initializer_list< T list)
inlineconstexpr

Definition at line 499 of file vector.hpp.

◆ operator=() [3/3]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr vector & plg::vector< T, Allocator >::operator= ( vector< T, Allocator > &&  other)
inlineconstexprnoexcept

Definition at line 469 of file vector.hpp.

◆ operator[]() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reference plg::vector< T, Allocator >::operator[] ( size_type  position) const
inlineconstexprnoexcept

Definition at line 576 of file vector.hpp.

◆ operator[]() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reference plg::vector< T, Allocator >::operator[] ( size_type  position)
inlineconstexprnoexcept

Definition at line 572 of file vector.hpp.

◆ pop_back()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::pop_back ( )
inlineconstexpr

Definition at line 856 of file vector.hpp.

◆ push_back() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::push_back ( const T value)
inlineconstexpr

Definition at line 827 of file vector.hpp.

◆ push_back() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::push_back ( T &&  value)
inlineconstexpr

Definition at line 836 of file vector.hpp.

◆ rbegin() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reverse_iterator plg::vector< T, Allocator >::rbegin ( ) const
inlineconstexprnoexcept

Definition at line 637 of file vector.hpp.

◆ rbegin() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reverse_iterator plg::vector< T, Allocator >::rbegin ( )
inlineconstexprnoexcept

Definition at line 633 of file vector.hpp.

◆ rend() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr const_reverse_iterator plg::vector< T, Allocator >::rend ( ) const
inlineconstexprnoexcept

Definition at line 649 of file vector.hpp.

◆ rend() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr reverse_iterator plg::vector< T, Allocator >::rend ( )
inlineconstexprnoexcept

Definition at line 645 of file vector.hpp.

◆ reserve()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::reserve ( size_type  new_capacity)
inlineconstexpr

Definition at line 670 of file vector.hpp.

◆ resize() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::resize ( size_type  count)
inlineconstexpr

Definition at line 862 of file vector.hpp.

◆ resize() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::resize ( size_type  count,
const T value 
)
inlineconstexpr

Definition at line 867 of file vector.hpp.

◆ shrink_to_fit()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::shrink_to_fit ( )
inlineconstexpr

Definition at line 681 of file vector.hpp.

◆ size()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr size_type plg::vector< T, Allocator >::size ( ) const
inlineconstexprnoexcept

Definition at line 662 of file vector.hpp.

◆ span() [1/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::span< const T > plg::vector< T, Allocator >::span ( ) const
inlineconstexprnoexcept

Definition at line 913 of file vector.hpp.

◆ span() [2/2]

template<typename T , typename Allocator = plg::allocator<T>>
constexpr std::span< T > plg::vector< T, Allocator >::span ( )
inlineconstexprnoexcept

Definition at line 917 of file vector.hpp.

◆ span_size()

template<typename T , typename Allocator = plg::allocator<T>>
template<size_type Size>
constexpr std::span< T, Size > plg::vector< T, Allocator >::span_size ( )
inlineconstexpr

Definition at line 922 of file vector.hpp.

◆ swap()

template<typename T , typename Allocator = plg::allocator<T>>
constexpr void plg::vector< T, Allocator >::swap ( vector< T, Allocator > &  other)
inlineconstexprnoexcept

Definition at line 903 of file vector.hpp.

Member Data Documentation

◆ _allocator

template<typename T , typename Allocator = plg::allocator<T>>
allocator_type plg::vector< T, Allocator >::_allocator
protected

Definition at line 265 of file vector.hpp.

◆ _begin

template<typename T , typename Allocator = plg::allocator<T>>
pointer plg::vector< T, Allocator >::_begin
protected

Definition at line 266 of file vector.hpp.

◆ _capacity

template<typename T , typename Allocator = plg::allocator<T>>
pointer plg::vector< T, Allocator >::_capacity
protected

Definition at line 268 of file vector.hpp.

◆ _end

template<typename T , typename Allocator = plg::allocator<T>>
pointer plg::vector< T, Allocator >::_end
protected

Definition at line 267 of file vector.hpp.


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