A file containing basic constants and definitions. More...
Go to the source code of this file.
Classes | |
struct | TfDeleter |
Function object for deleting any pointer. More... | |
Macros | |
#define | TF_MAX_ARITY 7 |
#define | TF_BAD_SIZE_T SIZE_MAX |
This value may be used by functions that return a size_t to indicate that a special or error condition has occurred. More... | |
#define | TF_DEV_BUILD ARCH_DEV_BUILD |
#define | TF_UNUSED(x) (void) x |
Stops compiler from producing unused argument or variable warnings. More... | |
Functions | |
int | TfAbs (int v) |
Returns the absolute value of the given int value. More... | |
double | TfAbs (double v) |
Returns the absolute value of the given double value. More... | |
template<class T > | |
T | TfMin (const T &v1, const T &v2) |
Returns the smaller of the two given values . More... | |
template<class T > | |
T | TfMax (const T &v1, const T &v2) |
Returns the larger of the two given values . More... | |
A file containing basic constants and definitions.
Definition in file tf.h.