8namespace Stroika::Foundation::Containers::Factory {
28 , fHints_OptimizeForLookupSpeedOverUpdateSpeed{hints.fOptimizeForLookupSpeedOverUpdateSpeed.value_or (true)}
34 return AccessDefault_ ();
39 if (this->fFactory_ ==
nullptr) [[likely]] {
40 if constexpr (totally_ordered<T>) {
46 if (fHints_OptimizeForLookupSpeedOverUpdateSpeed) [[likely]] {
60 return this->fFactory_ ();
A Collection<T> is a container to manage an un-ordered collection of items, without equality defined ...
Collection_Array<T> is an Array-based concrete implementation of the Collection<T> container pattern.
Collection_LinkedList<T> is an LinkedList-based concrete implementation of the Collection<T> containe...
SortedCollection_stdmultiset<T> is an stdmultiset-based concrete implementation of the SortedCollecti...
Singleton factory object - Used to create the default backend implementation of a Collection<> contai...
static const Collection_Factory & Default()
nonvirtual ConstructedType operator()() const
constexpr Collection_Factory()
static void Register(const optional< Collection_Factory > &f=nullopt)