66 [[nodiscard]] std::size_t
size() const noexcept {
return data_->size; }
119template <
typename Allocator = standard_allocator>
152 [[nodiscard]] std::size_t
size() const noexcept {
return data_->size; }
Definition of allocator_wrapper class.
Class of iterators of maps to access constant objects.
const_map_ref(const details::map_data &data)
Constructor.
const_map_iterator end() const noexcept
Get an iterator to the past-the-end key-value pair.
const_object_ref const_object_ref_type
Type to access constant objects.
std::size_t size() const noexcept
Get the size.
const_object_ref_type key(std::size_t index) const noexcept
Get a key.
const_object_ref_type value(std::size_t index) const noexcept
Get a value.
const_map_iterator iterator
Type of iterators.
const details::map_data * data_
Data.
const_map_iterator const_iterator
Type of iterators.
const_map_iterator begin() const noexcept
Get an iterator to the first key-value pair.
Class to access constant objects.
Class to wrap allocators.
Class of iterators of maps to access non-constant objects.
const_map_iterator begin() const noexcept
Get an iterator to the first key-value pair.
mutable_map_ref(details::map_data &data, details::allocator_wrapper< Allocator > &allocator)
Constructor.
const_map_iterator const_iterator
Type of iterators.
mutable_object_ref_type key(std::size_t index) noexcept
Get a key.
mutable_map_iterator< Allocator > begin() noexcept
Get an iterator to the first key-value pair.
mutable_map_iterator< Allocator > iterator
Type of iterators.
const_object_ref const_object_ref_type
Type to access constant objects.
details::allocator_wrapper< Allocator > * allocator_
Allocator.
const_map_iterator end() const noexcept
Get an iterator to the past-the-end key-value pair.
mutable_object_ref_type value(std::size_t index) noexcept
Get a value.
std::size_t size() const noexcept
Get the size.
details::map_data * data_
Data.
mutable_object_ref< Allocator > mutable_object_ref_type
Type to access non-constant objects.
mutable_map_iterator< Allocator > end() noexcept
Get an iterator to the past-the-end key-value pair.
Allocator allocator_type
Type of the allocator.
Class to access non-constant objects.
Definition of classes of iterators of maps.
Namespace of this project.
Definition of object_data struct.
Declaration of classes of references to objects.
Definition of standard_allocator class.