6namespace Stroika::Foundation::Containers::Factory {
31 return AccessDefault_ ();
36 if (this->fFactory_ ==
nullptr) [[likely]] {
41 return this->fFactory_ ();
45 template <
typename IT>
48 if (this->fFactory_ ==
nullptr) [[likely]] {
52 ConstructedType r = this->fFactory_ ();
54 copy (forward<IT> (start), forward<IT> (end), back_inserter (tmp));
55 for (
auto ri = tmp.rbegin (); ri != tmp.rend (); ++ri) {
Stack_LinkedList<T> is an LinkedList-based concrete implementation of the Stack<T> container pattern.
Singleton factory object - Used to create the default backend implementation of a Stack<> container; ...
nonvirtual ConstructedType operator()() const
static const Stack_Factory & Default()
static void Register(const optional< Stack_Factory > &f=nullopt)
constexpr Stack_Factory()