return singleton instance of given Object type.
More...
#include <dune/fem/storage/singleton.hh>
|
template<class... Args> |
static DUNE_EXPORT Object & | instance (Args &&... args) |
| return singleton instance of given Object type.
|
|
|
template<class... Args> |
static DUNE_EXPORT Object & | getObject (Args &&... args) |
| return singleton instance of given Object type.
|
|
template<class Object>
class Dune::Fem::Singleton< Object >
return singleton instance of given Object type.
◆ getObject()
template<class Object >
template<class... Args>
return singleton instance of given Object type.
◆ instance()
template<class Object >
template<class... Args>
return singleton instance of given Object type.
- Parameters
-
args | Possible constructor arguments for object when created for first time |
◆ placeStaticVariableInline
The documentation for this class was generated from the following file: