sparrow 0.9.0
|
#include <map_value.hpp>
Public Types | |
using | key_type = array_traits::value_type |
using | const_key_reference = array_traits::const_reference |
using | mapped_type = array_traits::value_type |
using | const_mapped_reference = array_traits::const_reference |
using | value_type = std::pair<key_type, mapped_type> |
using | const_reference = std::pair<const_key_reference, const_mapped_reference> |
using | size_type = std::size_t |
using | functor_type = detail::layout_value_functor<const map_value, const_reference> |
using | const_iterator = functor_index_iterator<functor_type> |
using | const_reverser_iterator = std::reverse_iterator<const_iterator> |
Public Member Functions | |
map_value ()=default | |
map_value (const array_wrapper *flat_keys, const array_wrapper *flat_items, size_type index_begin, size_type index_end, bool keys_sorted) | |
bool | empty () const noexcept |
size_type | size () const noexcept |
const_mapped_reference | at (const key_type &key) const |
const_mapped_reference | operator[] (const key_type &key) const |
bool | contains (const key_type &key) const |
const_iterator | find (const key_type &key) const |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | end () const |
const_iterator | cend () const |
const_reverser_iterator | rbegin () const |
const_reverser_iterator | crbegin () const |
const_reverser_iterator | rend () const |
const_reverser_iterator | crend () const |
Friends | |
class | detail::layout_value_functor< const map_value, const_reference > |
Definition at line 26 of file map_value.hpp.
Definition at line 40 of file map_value.hpp.
Definition at line 31 of file map_value.hpp.
Definition at line 33 of file map_value.hpp.
using sparrow::map_value::const_reference = std::pair<const_key_reference, const_mapped_reference> |
Definition at line 36 of file map_value.hpp.
using sparrow::map_value::const_reverser_iterator = std::reverse_iterator<const_iterator> |
Definition at line 41 of file map_value.hpp.
using sparrow::map_value::functor_type = detail::layout_value_functor<const map_value, const_reference> |
Definition at line 39 of file map_value.hpp.
Definition at line 30 of file map_value.hpp.
Definition at line 32 of file map_value.hpp.
using sparrow::map_value::size_type = std::size_t |
Definition at line 37 of file map_value.hpp.
using sparrow::map_value::value_type = std::pair<key_type, mapped_type> |
Definition at line 35 of file map_value.hpp.
|
default |
sparrow::map_value::map_value | ( | const array_wrapper * | flat_keys, |
const array_wrapper * | flat_items, | ||
size_type | index_begin, | ||
size_type | index_end, | ||
bool | keys_sorted ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardnoexcept |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardnoexcept |
|
friend |
Definition at line 82 of file map_value.hpp.