All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tf.h File Reference

A file containing basic constants and definitions. More...

+ Include dependency graph for tf.h:

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 >
TfMin (const T &v1, const T &v2)
 Returns the smaller of the two given values. More...
 
template<class T >
TfMax (const T &v1, const T &v2)
 Returns the larger of the two given values. More...
 

Detailed Description

A file containing basic constants and definitions.

Definition in file tf.h.