ug4
common.h File Reference
#include <iostream>
#include <fstream>
#include <string>
#include "ug_config.h"
#include "types.h"
#include "log.h"
#include "assert.h"
#include "error.h"
#include "static_assert.h"
#include "util/metaprogramming_util.h"

Go to the source code of this file.

Macros

#define LOG(msg)   UG_LOG(msg)
 
#define SAFE_DELETE(a)   {if(a){ delete a; a = NULL;}}
 
#define SAFE_RELEASE(p)   {if(p) { (p)->Release(); (p)=NULL;}}
 
#define STATIC_ASSERT(expr, msg)   UG_STATIC_ASSERT(expr, msg)