5 #ifndef CHECKFORERROR_H 6 #define CHECKFORERROR_H 20 static bool isValidArg(
bool expResult,
const std::string &msg =
"???");
21 static bool isNotNull(
void* obj,
const std::string &msg =
"???");
22 static bool isInBounds(
int index,
int maxIndex,
const std::string &msg =
"???");
25 static bool assertValidArg(
bool expResult,
const std::string &msg =
"???");
26 static bool assertNotNull(
void* obj,
const std::string &msg =
"???");
27 static bool assertInBounds(
int index,
int maxIndex,
const std::string &msg =
"???");
31 #endif //CHECKFORERROR_H
Definition: CheckForError.h:18