4#ifndef _Stroika_Foundation_Containers_Concrete_Stack_Factory_h_
5#define _Stroika_Foundation_Containers_Concrete_Stack_Factory_h_
7#include "Stroika/Foundation/StroikaPreComp.h"
18namespace Stroika::Foundation::Containers::Factory {
30 static_assert (not is_reference_v<T>,
31 "typically if this fails its because a (possibly indirect) caller forgot to use forward<>(), or remove_cvref_t");
75 template <
typename IT>
99 static void Register (
const optional<Stack_Factory>& f = nullopt);
116#include "Stack_Factory.inl"
Singleton factory object - Used to create the default backend implementation of a Stack<> container; ...
nonvirtual ConstructedType operator()() const
static const Stack_Factory & Default()
Stack< T > ConstructedType
function< ConstructedType()> FactoryFunctionType
static void Register(const optional< Stack_Factory > &f=nullopt)
constexpr Stack_Factory()