#include <string>
#include <sstream>
#include "error.h"
Go to the source code of this file.
|
#define | PRINT_VECTOR(v, msg) {std::stringstream ss; ss << msg; PrintVector(v, ss.str()); } |
|
#define | UG_LINE_LOG() UG_LOG("\n-------LINE " << __FILE__ << ":" << __LINE__ << " (" << __PRETTY_FUNCTION__ << ") -----------\n"); |
|
|
template<typename T > |
void | ug::PrintVector (const T &v, std::string desc="") |
|
◆ PRINT_VECTOR
#define PRINT_VECTOR |
( |
|
v, |
|
|
|
msg |
|
) |
| {std::stringstream ss; ss << msg; PrintVector(v, ss.str()); } |
◆ UG_LINE_LOG
#define UG_LINE_LOG |
( |
| ) |
UG_LOG("\n-------LINE " << __FILE__ << ":" << __LINE__ << " (" << __PRETTY_FUNCTION__ << ") -----------\n"); |