My Project
Classes | Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
wg_containers::falldown_array< T, policy, Alloc > Class Template Reference

Classes

struct  el_val
 

Public Types

using size_type = std::size_t
 
using index_type = std::ptrdiff_t
 
using difference_type = index_type
 
using value_type = T
 
using reference = value_type &
 
using const_reference = const T &
 
using allocator_type = std::conditional_t< std::is_void_v< Alloc >, std::allocator< element_type >, Alloc >
 
using iterator = std::conditional_t< AllowIteration, f_iterator< value_type, typename BC::iterator >, void >
 
using const_iterator = std::conditional_t< AllowIteration, f_iterator< const value_type, typename BC::const_iterator >, void >
 
using reverse_iterator = std::conditional_t< AllowIteration, std::reverse_iterator< iterator >, void >
 
using const_reverse_iterator = std::conditional_t< AllowIteration, std::reverse_iterator< const_iterator >, void >
 

Public Member Functions

 falldown_array (const falldown_array &)=default
 
 falldown_array (falldown_array &&) noexcept=default
 
 falldown_array (std::initializer_list< el_val > v)
 
falldown_arrayoperator= (const falldown_array &)=default
 
falldown_arrayoperator= (falldown_array &&) noexcept=default
 
falldown_arrayoperator= (std::initializer_list< el_val > v)
 
allocator_type get_allocator () const
 
void assign (std::initializer_list< el_val > v)
 
auto set (index_type idx, bool variadic, const_reference val) noexcept(std::is_nothrow_copy_constructible_v< value_type >)
 
template<typename... Args>
auto emplace (index_type idx, bool variadic, Args &&... args) noexcept(std::is_nothrow_constructible_v< value_type, Args... >)
 
size_type size () const noexcept
 
size_type capacity () const noexcept
 
size_type empty () const noexcept
 
size_type max_size () const noexcept
 
void reserve (size_type s)
 
void shrink_to_fit ()
 
void clear () noexcept
 
const_reference operator[] (index_type idx) const noexcept(false)
 
reference operator[] (index_type idx) noexcept(false)
 
info_t< pointer > info (index_type idx) noexcept
 
info_t< const_pointer > info (index_type idx) const noexcept
 
pointer get (index_type idx) noexcept
 
const_pointer get (index_type idx) const noexcept
 
iterator begin () noexcept
 
iterator end () noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
reverse_iterator rbegin () noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
const_reverse_iterator rend () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 

Static Public Attributes

static constexpr index_type npos
 

Friends

void swap (falldown_array< T, policy, Alloc > &a, falldown_array< T, policy, Alloc > &b)
 

Member Data Documentation

◆ npos

template<typename T, fda_policy policy = fda_policy::Default, typename Alloc = void>
constexpr index_type wg_containers::falldown_array< T, policy, Alloc >::npos
static
Initial value:
=
std::numeric_limits<difference_type>::max() / 2

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