Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
Helper class for registering a class at program startup. More...
#include <registrator.hpp>
Public Member Functions | |
void | emptyFunc () |
Static Public Member Functions | |
static Registrator & | getRegistrator () |
Helper class for registering a class at program startup.
It accomplishes this by:
registerSelf()
using CRTP, called here.registerSelf()
function is called during the static initialization phase of the program.