6#include "Stroika/Foundation/StroikaPreComp.h"
8#include "Stroika/Foundation/Common/Concepts.h"
9#include "Stroika/Foundation/Containers/Mapping.h"
11#ifndef _Stroika_Foundation_Containers_SortedMapping_h_
12#define _Stroika_Foundation_Containers_SortedMapping_h_ 1
22 using Common::ITotallyOrderingComparer;
65 template <
typename KEY_TYPE,
typename MAPPED_VALUE_TYPE>
109 template <ITotallyOrderingComparer<KEY_TYPE> KEY_COMPARER>
123#if qCompilerAndStdLib_RequiresNotMatchInlineOutOfLineForTemplateClassBeingDefined_Buggy
126 _AssertRepValidType ();
128 _AssertRepValidType ();
132 template <ITotallyOrderingComparer<KEY_TYPE> KEY_COMPARER, IIterableOfTo<KeyValuePair<KEY_TYPE, MAPPED_VALUE_TYPE>> ITERABLE_OF_ADDABLE>
134 template <IInputIterator<KeyValuePair<KEY_TYPE, MAPPED_VALUE_TYPE>> ITERATOR_OF_ADDABLE>
137 template <ITotallyOrderingComparer<KEY_TYPE> KEY_COMPARER, IInputIterator<KeyValuePair<KEY_TYPE, MAPPED_VALUE_TYPE>> ITERATOR_OF_ADDABLE>
201 nonvirtual
void _AssertRepValidType ()
const;
226#include "SortedMapping.inl"
Implementation detail for Mapping<T> implementors.
nonvirtual CONTAINER_OF_Key_T As() const
nonvirtual unsigned int AddAll(ITERABLE_OF_ADDABLE &&items, AddReplaceMode addReplaceMode=AddReplaceMode::eAddReplaces)
typename inherited::value_type value_type
Implementation detail for SortedMapping<T> implementors.
nonvirtual RESULT_CONTAINER Where(INCLUDE_PREDICATE &&includeIfTrue) const
subset of this SortedMapping matching filter-function
nonvirtual KeyInOrderComparerType GetKeyInOrderComparer() const
nonvirtual RESULT_CONTAINER Map(ELEMENT_MAPPER &&elementMapper) const
'override' Iterable<>::Map () function so RESULT_CONTAINER defaults to SortedMapping,...
nonvirtual KeyThreeWayComparerType GetKeyThreeWayComparer() const
Iterable<T> is a base class for containers which easily produce an Iterator<T> to traverse them.
static constexpr default_sentinel_t end() noexcept
Support for ranged for, and STL syntax in general.