|
| | FlatMap (const FlatMap &)=default |
| |
| | FlatMap (FlatMap &&) noexcept=default |
| |
| FlatMap & | operator= (const FlatMap &)=default |
| |
| FlatMap & | operator= (FlatMap &&) noexcept=default |
| |
| | ~FlatMap ()=default |
| |
| | FlatMap ()=default |
| |
| | FlatMap (const allocator_type &allocator) |
| |
| | FlatMap (Equals eq, const allocator_type &allocator={}) |
| |
| template<class InputIter > |
| | FlatMap (InputIter first, InputIter last, Equals eq={}, const allocator_type &allocator={}) |
| |
| | FlatMap (std::initializer_list< value_type > init, const allocator_type &allocator={}) |
| |
| JPL_INLINE const key_container_type & | keys () const noexcept |
| |
| JPL_INLINE const mapped_container_type & | values () const noexcept |
| |
| JPL_INLINE void | reserve (std::size_t n) |
| |
| JPL_INLINE size_type | size () const |
| |
| JPL_INLINE bool | empty () const |
| |
| JPL_INLINE iterator | begin () noexcept |
| |
| JPL_INLINE iterator | end () noexcept |
| |
| JPL_INLINE const_iterator | begin () const noexcept |
| |
| JPL_INLINE const_iterator | end () const noexcept |
| |
| JPL_INLINE const_iterator | cbegin () const noexcept |
| |
| JPL_INLINE const_iterator | cend () const noexcept |
| |
| JPL_INLINE void | push_back (const Key &k, const T &v) |
| |
| JPL_INLINE iterator | find (const Key &key) |
| |
| JPL_INLINE const_iterator | find (const Key &key) const |
| |
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>) |
| JPL_INLINE iterator | find (const K2 &key_like) |
| |
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>) |
| JPL_INLINE const_iterator | find (const K2 &key_like) const |
| |
| JPL_INLINE mapped_type & | at (const Key &key) |
| |
| JPL_INLINE const mapped_type & | at (const Key &key) const |
| |
| JPL_INLINE mapped_type & | operator[] (const Key &key) |
| |
| JPL_INLINE mapped_type & | operator[] (Key &&key) |
| |
| template<class... Args> |
| JPL_INLINE std::pair< iterator, bool > | emplace (Args &&... args) |
| |
| JPL_INLINE size_t | erase (const_iterator iter) |
| |
| JPL_INLINE size_t | erase (iterator it) |
| |
| JPL_INLINE size_t | erase (const Key &key) |
| |
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>) |
| JPL_INLINE size_t | erase (const K2 &key_like) |
| |
| template<class Predicate > |
| JPL_INLINE size_t | erase_if (Predicate &&pred) |
| |
| JPL_INLINE bool | contains (const Key &key) const |
| |
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>) |
| JPL_INLINE bool | contains (const K2 &key_like) const |
| |
template<class Key , class T , class Equals = std::equal_to<Key>, class KeyContainer = std::vector<Key>, class MappedContainer = std::vector<T>>
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>)
| JPL_INLINE bool JPL::FlatMap< Key, T, Equals, KeyContainer, MappedContainer >::contains |
( |
const K2 & | key_like | ) |
const |
|
inlinenodiscard |
template<class Key , class T , class Equals = std::equal_to<Key>, class KeyContainer = std::vector<Key>, class MappedContainer = std::vector<T>>
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>)
| JPL_INLINE size_t JPL::FlatMap< Key, T, Equals, KeyContainer, MappedContainer >::erase |
( |
const K2 & | key_like | ) |
|
|
inline |
template<class Key , class T , class Equals = std::equal_to<Key>, class KeyContainer = std::vector<Key>, class MappedContainer = std::vector<T>>
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>)
| JPL_INLINE iterator JPL::FlatMap< Key, T, Equals, KeyContainer, MappedContainer >::find |
( |
const K2 & | key_like | ) |
|
|
inlinenodiscard |
template<class Key , class T , class Equals = std::equal_to<Key>, class KeyContainer = std::vector<Key>, class MappedContainer = std::vector<T>>
template<class K2 >
requires (EqComparable<Key, K2> || EqComparable<K2, Key>)