| 22 | // Clean up a resource (delete and set to null). |
| 23 | template <typename T> |
| 24 | void CleanUp(T** pptr) { |
| 25 | if (*pptr) { |
| 26 | delete *pptr; |
| 27 | *pptr = NULL; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | int Random(int uboundExclusive); |
| 32 | int Random(int lbound, int uboundExclusive); |
no outgoing calls
no test coverage detected