plugify 1.0.0.0
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<typename 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<typename 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<typename 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 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 = std::allocator<T>>
class plg::vector< T, Allocator >

Definition at line 258 of file vector.hpp.

Member Typedef Documentation

◆ allocator_type

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

Definition at line 262 of file vector.hpp.

◆ const_iterator

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

Definition at line 270 of file vector.hpp.

◆ const_pointer

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

Definition at line 268 of file vector.hpp.

◆ const_reference

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

Definition at line 266 of file vector.hpp.

◆ const_reverse_iterator

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

Definition at line 272 of file vector.hpp.

◆ difference_type

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

Definition at line 264 of file vector.hpp.

◆ iterator

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

Definition at line 269 of file vector.hpp.

◆ pointer

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

Definition at line 267 of file vector.hpp.

◆ reference

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

Definition at line 265 of file vector.hpp.

◆ reverse_iterator

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

Definition at line 271 of file vector.hpp.

◆ size_type

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

Definition at line 263 of file vector.hpp.

◆ value_type

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

Definition at line 261 of file vector.hpp.

Constructor & Destructor Documentation

◆ vector() [1/10]

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

Definition at line 377 of file vector.hpp.

◆ vector() [2/10]

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

Definition at line 381 of file vector.hpp.

◆ vector() [3/10]

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

Definition at line 385 of file vector.hpp.

◆ vector() [4/10]

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

Definition at line 394 of file vector.hpp.

◆ vector() [5/10]

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

Definition at line 404 of file vector.hpp.

◆ vector() [6/10]

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

Definition at line 410 of file vector.hpp.

◆ vector() [7/10]

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

Definition at line 415 of file vector.hpp.

◆ vector() [8/10]

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

Definition at line 420 of file vector.hpp.

◆ vector() [9/10]

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

Definition at line 425 of file vector.hpp.

◆ vector() [10/10]

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

Definition at line 442 of file vector.hpp.

◆ ~vector()

template<typename T , typename Allocator = std::allocator<T>>
plg::vector< T, Allocator >::~vector ( )
inline

Definition at line 458 of file vector.hpp.

Member Function Documentation

◆ assign() [1/3]

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

Definition at line 539 of file vector.hpp.

◆ assign() [2/3]

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

Definition at line 519 of file vector.hpp.

◆ assign() [3/3]

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

Definition at line 559 of file vector.hpp.

◆ at() [1/2]

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

Definition at line 576 of file vector.hpp.

◆ at() [2/2]

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

Definition at line 581 of file vector.hpp.

◆ back() [1/2]

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

Definition at line 604 of file vector.hpp.

◆ back() [2/2]

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

Definition at line 609 of file vector.hpp.

◆ begin() [1/2]

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

Definition at line 627 of file vector.hpp.

◆ begin() [2/2]

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

Definition at line 623 of file vector.hpp.

◆ capacity()

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

Definition at line 691 of file vector.hpp.

◆ cbegin()

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

Definition at line 631 of file vector.hpp.

◆ cend()

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

Definition at line 643 of file vector.hpp.

◆ clear()

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

Definition at line 700 of file vector.hpp.

◆ contains()

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

Definition at line 972 of file vector.hpp.

◆ contains_if()

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

Definition at line 977 of file vector.hpp.

◆ crbegin()

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

Definition at line 655 of file vector.hpp.

◆ crend()

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

Definition at line 667 of file vector.hpp.

◆ data() [1/2]

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

Definition at line 618 of file vector.hpp.

◆ data() [2/2]

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

Definition at line 614 of file vector.hpp.

◆ emplace()

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

Definition at line 785 of file vector.hpp.

◆ emplace_back()

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

Definition at line 860 of file vector.hpp.

◆ empty()

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

Definition at line 672 of file vector.hpp.

◆ end() [1/2]

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

Definition at line 639 of file vector.hpp.

◆ end() [2/2]

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

Definition at line 635 of file vector.hpp.

◆ erase() [1/2]

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

Definition at line 827 of file vector.hpp.

◆ erase() [2/2]

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

Definition at line 817 of file vector.hpp.

◆ find() [1/2]

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

Definition at line 985 of file vector.hpp.

◆ find() [2/2]

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

Definition at line 981 of file vector.hpp.

◆ find_if() [1/2]

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

Definition at line 995 of file vector.hpp.

◆ find_if() [2/2]

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

Definition at line 990 of file vector.hpp.

◆ find_index() [1/2]

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

Definition at line 999 of file vector.hpp.

◆ find_index() [2/2]

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

Definition at line 1008 of file vector.hpp.

◆ find_index_if() [1/2]

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

Definition at line 1018 of file vector.hpp.

◆ find_index_if() [2/2]

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

Definition at line 1028 of file vector.hpp.

◆ front() [1/2]

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

Definition at line 594 of file vector.hpp.

◆ front() [2/2]

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

Definition at line 599 of file vector.hpp.

◆ get_allocator()

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

Definition at line 571 of file vector.hpp.

◆ insert() [1/5]

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

Definition at line 705 of file vector.hpp.

◆ insert() [2/5]

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

Definition at line 743 of file vector.hpp.

◆ insert() [3/5]

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

Definition at line 713 of file vector.hpp.

◆ insert() [4/5]

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

Definition at line 773 of file vector.hpp.

◆ insert() [5/5]

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

Definition at line 709 of file vector.hpp.

◆ max_size()

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

Definition at line 680 of file vector.hpp.

◆ operator+=() [1/4]

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

Definition at line 886 of file vector.hpp.

◆ operator+=() [2/4]

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

Definition at line 896 of file vector.hpp.

◆ operator+=() [3/4]

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

Definition at line 891 of file vector.hpp.

◆ operator+=() [4/4]

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

Definition at line 901 of file vector.hpp.

◆ operator=() [1/3]

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

Definition at line 464 of file vector.hpp.

◆ operator=() [2/3]

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

Definition at line 513 of file vector.hpp.

◆ operator=() [3/3]

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

Definition at line 483 of file vector.hpp.

◆ operator[]() [1/2]

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

Definition at line 590 of file vector.hpp.

◆ operator[]() [2/2]

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

Definition at line 586 of file vector.hpp.

◆ pop_back()

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

Definition at line 870 of file vector.hpp.

◆ push_back() [1/2]

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

Definition at line 841 of file vector.hpp.

◆ push_back() [2/2]

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

Definition at line 850 of file vector.hpp.

◆ rbegin() [1/2]

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

Definition at line 651 of file vector.hpp.

◆ rbegin() [2/2]

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

Definition at line 647 of file vector.hpp.

◆ rend() [1/2]

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

Definition at line 663 of file vector.hpp.

◆ rend() [2/2]

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

Definition at line 659 of file vector.hpp.

◆ reserve()

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

Definition at line 684 of file vector.hpp.

◆ resize() [1/2]

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

Definition at line 876 of file vector.hpp.

◆ resize() [2/2]

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

Definition at line 881 of file vector.hpp.

◆ shrink_to_fit()

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

Definition at line 695 of file vector.hpp.

◆ size()

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

Definition at line 676 of file vector.hpp.

◆ swap()

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

Definition at line 917 of file vector.hpp.

Member Data Documentation

◆ _allocator

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

Definition at line 276 of file vector.hpp.

◆ _begin

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

Definition at line 277 of file vector.hpp.

◆ _capacity

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

Definition at line 279 of file vector.hpp.

◆ _end

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

Definition at line 278 of file vector.hpp.


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