|
ampsci
High-precision calculations for one- and two-valence atomic systems
|
Constructing a Register<T> adds T::generate to the Registry.
Place one of these at file scope (inside an anonymous namespace) in a .cpp file to register an operator. T must have a static generate() with the FactoryFn signature; the template instantiation enforces this at compile time.
#include <GenerateOperator.hpp>
Public Member Functions | |
| Register (const char *name, const char *description) | |