SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
This template class takes as arguments a Registrar and a Manager. More...
#include <Registry.h>
Public Types | |
using | type = decltype(testRegisterTo< Manager >(nullptr)) |
This template class takes as arguments a Registrar and a Manager.
It performs a compile-time check that the Registrar either registers to and unregisters from the manager type, or does neither (this is a check to ensure that Registrars clean up after themselves when their plugins go away). The resulting compile-time value "type" reflects whether or not the Registrar registers to the Manager.