* This form of constructor causes its function argument to be invoked * when the object is constructed. When used with a static Initialize * object, this will cause #func to run before main() runs, so that * #func can perform once-only initialization. * * \param func * This function is invoked with no arguments when the object is * constructed. Typica
| 58 | * only performs its initialization the first time it is invoked. |
| 59 | */ |
| 60 | Initialize(void (*func)()) { |
| 61 | (*func)(); |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * This form of constructor causes a new object of a particular class |
nothing calls this directly
no outgoing calls
no test coverage detected