DUNE PDELab (git)
parameterizedobjectfactorysingleton.hh
1// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
42 return Dune::Singleton<Dune::ParameterizedObjectFactory<std::unique_ptr<Interface>(int)>>::instance();
static DUNE_EXPORT MPIHelper & instance(int *argc=nullptr, char ***argv=nullptr)
Get the singleton instance of the helper.
Definition: mpihelper.hh:284
A factory class for parameterized objects.
Definition: parameterizedobject.hh:36
Useful wrapper for creating singletons.
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)