libpressio 0.93.0
|
#include <pressio.h>
Public Member Functions | |
template<class RegistryType , class NameType , class Factory > | |
pressio_register (pressio_registry< RegistryType > ®istry, NameType &&name, Factory &&factory) | |
a class that registers a type on construction, using a type over a function to force it to be called at static construction time
|
inline |
Registers a new factory with a name in a registry. Designed to be used as a static variable
[in] | registry | the registry to use |
[in] | name | the name to register |
[in] | factory | the factory to register |