Static members confuse me sometimes. I understand how to initialize a simple built in type such as int with something along the lines of int myClass::statVar
int
int myClass::statVar
Is it only a one function that needs RandomGenerator? You may do this in this way:
int myClass::foo() { static RandomGenerator itsGenerator = RandomGenerator::Randomize() ... }