template<typename StoredType>
class ADynamicVector< StoredType >
Vector implementation for ASmallVector.
- Template Parameters
-
- Note
- This vector implementation is indented to use only by ASmallVector. If it's not your case, consider using AVector instead.
|
constexpr | ADynamicVector (const ADynamicVector &rhs) |
|
constexpr | ADynamicVector (ADynamicVector &&rhs) noexcept |
|
constexpr StoredType * | data () noexcept |
|
constexpr const StoredType * | data () const noexcept |
|
constexpr iterator | begin () noexcept |
|
constexpr const_iterator | begin () const noexcept |
|
constexpr iterator | end () noexcept |
|
constexpr const_iterator | end () const noexcept |
|
constexpr StoredType & | front () noexcept |
|
constexpr StoredType & | back () noexcept |
|
constexpr const StoredType & | front () const noexcept |
|
constexpr const StoredType & | back () const noexcept |
|
constexpr void | push_back (StoredType value) noexcept |
|
constexpr void | push_front (StoredType value) noexcept |
|
constexpr void | pop_back () noexcept |
|
constexpr void | pop_front () noexcept |
|
constexpr StoredType & | operator[] (std::size_t index) noexcept |
|
constexpr StoredType & | operator[] (std::size_t index) const noexcept |
|
constexpr bool | empty () const noexcept |
|
constexpr void | clear () noexcept |
|
void | deallocate () |
|
constexpr std::size_t | size () const noexcept |
|
constexpr std::size_t | reserved () const noexcept |
|
template<typename OtherIterator > |
constexpr iterator | insert (iterator at, OtherIterator begin, OtherIterator end) |
|
constexpr iterator | insert (iterator at, StoredType value) |
|
constexpr iterator | erase (iterator at) |
|
constexpr iterator | erase (iterator begin, iterator end) |
|
void | reserve (std::size_t newSize) |
|
ADynamicVector & | operator= (ADynamicVector &&rhs) noexcept |
|
template<typename OtherContainer > |
iterator | insertAll (const OtherContainer &c) noexcept |
|
template<typename OtherContainer > |
iterator | insertAll (OtherContainer &&c) noexcept |
|
template<typename OtherContainer > |
iterator | insertAll (iterator at, const OtherContainer &c) noexcept |
|
template<typename OtherContainer > |
iterator | insertAll (iterator at, OtherContainer &&c) noexcept |
|
void | removeAll (const StoredType &item) noexcept |
|
void | removeFirst (const StoredType &item) noexcept |
|
template<typename OtherContainer > |
bool | isSubsetOf (const OtherContainer &c) const noexcept |
|
bool | contains (const StoredType &value) const noexcept |
|
std::size_t | sizeInBytes () const noexcept |
|
StoredType & | at (std::size_t index) |
|
const StoredType & | at (std::size_t index) const |
|
self & | operator<< (const StoredType &rhs) noexcept |
|
self & | operator<< (StoredType &&rhs) noexcept |
|
template<typename OtherContainer , std::enable_if_t<!std::is_convertible_v< OtherContainer, StoredType >, bool > = true> |
self & | operator<< (const OtherContainer &c) noexcept |
|
template<typename OtherContainer , std::enable_if_t<!std::is_convertible_v< OtherContainer, StoredType >, bool > = true> |
self & | operator<< (OtherContainer &&c) noexcept |
|
StoredType & | first () noexcept |
|
const StoredType & | first () const noexcept |
|
StoredType & | last () noexcept |
|
const StoredType & | last () const noexcept |
|
size_t | indexOf (const StoredType &value) const noexcept |
|
void | sort () noexcept |
|
template<typename Comparator > |
void | sort (Comparator &&comparator) noexcept |
|
void | removeAt (size_t index) noexcept |
|
template<typename Predicate > |
void | removeIf (Predicate &&predicate) noexcept |
|
ASet< StoredType > | toSet () const noexcept |
|
template<aui::invocable< const StoredType & > UnaryOperation> |
auto | map (UnaryOperation &&transformer) const -> AVector< decltype(transformer(std::declval< StoredType >()))> |
|
template<aui::invocable< const StoredType & > UnaryOperation> |
auto | toMap (UnaryOperation &&transformer) const -> AMap< decltype(transformer(std::declval< StoredType >()).first), decltype(transformer(std::declval< StoredType >()).second)> |
|
template<aui::invocable< StoredType & > UnaryOperation> |
auto | toMap (UnaryOperation &&transformer) -> AMap< decltype(transformer(std::declval< StoredType >()).first), decltype(transformer(std::declval< StoredType >()).second)> |
|
template<aui::predicate< const StoredType & > Predicate> |
self | filter (Predicate &&predicate) |
|