|
constexpr | trivial_vector_impl () |
| Default constructor.
|
|
| trivial_vector_impl (size_type count, const value_type &v) |
| Filling constructor of value_type
|
|
template<class InputIt > |
| trivial_vector_impl (InputIt first, InputIt last) |
| Range constructor.
|
|
| trivial_vector_impl (const trivial_vector_impl &)=delete |
| Copy constructor disabled, use range constructor if you really want this.
|
|
trivial_vector_impl & | operator= (const trivial_vector_impl &)=delete |
| Copy assigned disabled, use range constructor if you really want this.
|
|
| trivial_vector_impl (trivial_vector_impl &&o) noexcept |
| Move constructor.
|
|
trivial_vector_impl & | operator= (trivial_vector_impl &&o) noexcept |
| Move assignment.
|
|
| trivial_vector_impl (std::initializer_list< value_type > il) |
| Initialiser list constructor.
|
|
void | assign (size_type count, const value_type &v) |
| Assigns.
|
|
template<class InputIt > |
void | assign (InputIt first, InputIt last) |
| Assigns.
|
|
void | assign (std::initializer_list< value_type > il) |
| Assigns.
|
|
reference | at (size_type i) |
| Item index, bounds checked.
|
|
const_reference | at (size_type i) const |
| Item index, bounds checked.
|
|
reference | operator[] (size_type i) |
| Item index, unchecked.
|
|
const_reference | operator[] (size_type i) const |
| Item index, unchecked.
|
|
reference | front () |
| First element.
|
|
const_reference | front () const |
| First element.
|
|
reference | back () |
| Last element.
|
|
const_reference | back () const |
| Last element.
|
|
pointer | data () noexcept |
| Underlying array.
|
|
const_pointer | data () const noexcept |
| Underlying array.
|
|
iterator | begin () noexcept |
| Iterator to first item.
|
|
const_iterator | begin () const noexcept |
| Iterator to first item.
|
|
const_iterator | cbegin () const noexcept |
| Iterator to first item.
|
|
iterator | end () noexcept |
| Iterator to after last item.
|
|
const_iterator | end () const noexcept |
| Iterator to after last item.
|
|
const_iterator | cend () const noexcept |
| Iterator to after last item.
|
|
reverse_iterator | rbegin () noexcept |
| Iterator to last item.
|
|
const_reverse_iterator | rbegin () const noexcept |
| Iterator to last item.
|
|
const_reverse_iterator | crbegin () const noexcept |
| Iterator to last item.
|
|
reverse_iterator | rend () noexcept |
| Iterator to before first item.
|
|
const_reverse_iterator | rend () const noexcept |
| Iterator to before first item.
|
|
const_reverse_iterator | crend () const noexcept |
| Iterator to before first item.
|
|
bool | empty () const noexcept |
| If empty.
|
|
size_type | size () const noexcept |
| Items in container.
|
|
size_type | max_size () const noexcept |
| Maximum items in container.
|
|
void | reserve (size_type n) |
| Increase capacity.
|
|
size_type | capacity () const noexcept |
| Items can be stored until storage expanded.
|
|
void | shrink_to_fit () |
| Removes unused capacity.
|
|
void | clear () noexcept |
| Clears container.
|
|
iterator | insert (const_iterator pos, const value_type &v) |
| Inserts item.
|
|
iterator | insert (const_iterator pos, value_type &&v) |
| Inserts item.
|
|
iterator | insert (const_iterator pos, size_type count, const value_type &v) |
| Inserts items.
|
|
template<class InputIt > |
iterator | insert (const_iterator pos, InputIt first, InputIt last) |
| Inserts items.
|
|
iterator | insert (const_iterator pos, std::initializer_list< value_type > il) |
| Inserts items.
|
|
template<class... Args> |
iterator | emplace (const_iterator pos, Args &&... args) |
| Emplace item.
|
|
iterator | erase (const_iterator pos) |
| Erases item.
|
|
iterator | erase (const_iterator first, const_iterator last) |
| Erases items.
|
|
void | push_back (const value_type &v) |
| Appends item.
|
|
void | push_back (value_type &&v) |
| Appends item.
|
|
template<class... Args> |
reference | emplace_back (Args &&... args) |
| Appends item.
|
|
void | pop_back () |
| Removes last element.
|
|
void | resize (size_type count, const value_type &v) |
| Resizes container.
|
|
void | swap (trivial_vector_impl &o) noexcept |
| Swaps.
|
|