xtd 0.2.0
Loading...
Searching...
No Matches
xtd::collections::generic::helpers::raw_array< type_t, allocator_t > Class Template Reference

Classes

class  const_iterator
 
class  iterator
 

Public Aliases

using value_type
 
using storage_value_type
 
using storage_allocator_type
 
using base_type
 
using const_base_type
 
using allocator_type
 
using size_type
 
using difference_type
 
using reference
 
using const_reference
 
using pointer
 
using const_pointer
 

Public Iterators

using reverse_iterator
 
using const_reverse_iterator
 

Public Fields

static constexpr size_type npos
 
static constexpr size_type bpos
 
static constexpr size_type epos
 

Public Constructors

 raw_array (const allocator_type &alloc) noexcept
 
 raw_array (size_type count, const type_t &value, const allocator_type &alloc=allocator_type())
 
 raw_array (size_type count, const allocator_type &alloc=allocator_type())
 
template<class input_iterator_t>
 raw_array (input_iterator_t first, input_iterator_t last, const allocator_type &alloc=allocator_type())
 
 raw_array (const raw_array &vector)
 
 raw_array (const base_type &vector)
 
 raw_array (const raw_array &vector, const allocator_type &alloc)
 
 raw_array (const base_type &vector, const allocator_type &alloc)
 
 raw_array (std::initializer_list< type_t > items, const allocator_type &alloc=allocator_type())
 
 raw_array (std::initializer_list< bool > items, const allocator_type &alloc=allocator_type())
 
 raw_array (raw_array &&other)
 
 raw_array (base_type &&other)
 
 raw_array (raw_array &&other, const allocator_type &alloc)
 
 raw_array (base_type &&other, const allocator_type &alloc)
 

Public Properties

reference back ()
 
const_reference back () const
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
size_type capacity () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
pointer data () noexcept
 
const_pointer data () const noexcept
 
bool empty () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
reference front ()
 
const_reference front () const
 
const_base_type & items () const noexcept
 
base_type & items () noexcept
 
size_type max_size () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
size_type size () const noexcept
 
size_type version () const noexcept
 

Public Methods

void assign (size_type count, const type_t &value)
 
template<class input_iterator_t>
void assign (input_iterator_t first, input_iterator_t last)
 
void assign (std::initializer_list< type_t > items)
 
reference at (size_type index)
 
const_reference at (size_type index) const
 
void clear ()
 
template<class ... args_t>
iterator emplace (const_iterator pos, args_t &&... args)
 
template<class ... args_t>
reference emplace_back (args_t &&... args)
 
iterator erase (const_iterator pos)
 
iterator erase (const_iterator first, const_iterator last)
 
allocator_type get_allocator () const
 
size_type increment_version () noexcept
 
iterator insert (const_iterator pos, const type_t &value)
 
iterator insert (const_iterator pos, type_t &&value)
 
iterator insert (const_iterator pos, size_type count, const type_t &value)
 
iterator insert (const_iterator pos, size_type count, type_t &&value)
 
template<class input_iterator_t>
iterator insert (const_iterator pos, input_iterator_t first, input_iterator_t last)
 
iterator insert (const_iterator pos, const std::initializer_list< type_t > &items)
 
void pop_back ()
 
void push_back (const type_t &value)
 
void push_back (type_t &&value)
 
void reserve (size_type new_cap)
 
void resize (size_type count)
 
void resize (size_type count, const value_type &value)
 
void shrink_to_fit ()
 
void swap (raw_array &other) noexcept
 

Public Operators

raw_arrayoperator= (const raw_array &other)=default
 
raw_arrayoperator= (raw_array &&other) noexcept=default
 
raw_arrayoperator= (std::initializer_list< type_t > &items)
 
raw_arrayoperator= (std::initializer_list< bool > &items)
 
const_reference operator[] (size_type index) const
 
reference operator[] (size_type index)
 
 operator const base_type & () const noexcept
 
 operator base_type & () noexcept
 

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