|
|
| darr (core::zero_t) noexcept |
| |
|
| darr (size_type count, const_reference value) |
| |
|
| darr (size_type count) |
| |
|
template<typename InputIt > |
| | darr (InputIt first, InputIt last) |
| |
|
| darr (std::initializer_list< T > il) |
| |
|
| darr (const darr &other) |
| |
|
| darr (darr &&other) noexcept |
| |
|
darr & | operator= (std::initializer_list< T > il) |
| |
|
darr & | operator= (const darr &other) |
| |
|
darr & | operator= (darr &&other) noexcept |
| |
|
GAIA_NODISCARD pointer | data () noexcept |
| |
|
GAIA_NODISCARD const_pointer | data () const noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | operator[] (size_type pos) noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | operator[] (size_type pos) const noexcept |
| |
|
void | reserve (size_type cap) |
| |
|
void | resize (size_type count) |
| |
|
void | push_back (const T &arg) |
| |
|
void | push_back (T &&arg) |
| |
|
template<typename... Args> |
| decltype(auto) | emplace_back (Args &&... args) |
| |
|
void | pop_back () noexcept |
| |
| iterator | insert (iterator pos, const T &arg) |
| | Insert the element to the position given by iterator pos.
|
| |
| iterator | insert (iterator pos, T &&arg) |
| | Insert the element to the position given by iterator pos.
|
| |
| iterator | erase (iterator pos) noexcept |
| | Removes the element at pos.
|
| |
| iterator | erase (iterator first, iterator last) noexcept |
| | Removes the elements in the range [first, last)
|
| |
|
void | clear () noexcept |
| |
|
void | shrink_to_fit () |
| |
| template<typename Func > |
| auto | retain (Func &&func) |
| | Removes all elements that fail the predicate.
|
| |
|
GAIA_NODISCARD size_type | size () const noexcept |
| |
|
GAIA_NODISCARD bool | empty () const noexcept |
| |
|
GAIA_NODISCARD size_type | capacity () const noexcept |
| |
|
GAIA_NODISCARD size_type | max_size () const noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | front () noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | front () const noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | back () noexcept |
| |
|
GAIA_NODISCARD decltype(auto) | back () const noexcept |
| |
|
GAIA_NODISCARD auto | begin () noexcept |
| |
|
GAIA_NODISCARD auto | begin () const noexcept |
| |
|
GAIA_NODISCARD auto | cbegin () const noexcept |
| |
|
GAIA_NODISCARD auto | rbegin () noexcept |
| |
|
GAIA_NODISCARD auto | rbegin () const noexcept |
| |
|
GAIA_NODISCARD auto | crbegin () const noexcept |
| |
|
GAIA_NODISCARD auto | end () noexcept |
| |
|
GAIA_NODISCARD auto | end () const noexcept |
| |
|
GAIA_NODISCARD auto | cend () const noexcept |
| |
|
GAIA_NODISCARD auto | rend () noexcept |
| |
|
GAIA_NODISCARD auto | rend () const noexcept |
| |
|
GAIA_NODISCARD auto | crend () const noexcept |
| |
|
GAIA_NODISCARD bool | operator== (const darr &other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator!= (const darr &other) const noexcept |
| |
template<typename T, typename Allocator = mem::DefaultAllocatorAdaptor>
class gaia::cnt::darr< T, Allocator >
Array with variable size of elements of type.
- Template Parameters
-
| T | allocated on heap. Interface compatiblity with std::vector where it matters. |