Collection of utility macros for error messages.
More...
#include <iostream>
#include <sstream>
#include <cassert>
#include <thread>
#include <chrono>
Go to the source code of this file.
Collection of utility macros for error messages.
Definition in file Helpers.h.
◆ CERR
#define CERR |
( |
|
__X__ | ) |
std::cerr << __X__ |
◆ COUT
#define COUT |
( |
|
__X__ | ) |
std::cout << __X__ |
◆ MTL__LOCATION__
◆ MTL__LOCATION_HELPER__
#define MTL__LOCATION_HELPER__ __FILE__ ":" MTL__STR__(__LINE__) |
◆ MTL__STR__
◆ MTL__STR_HELPER__
#define MTL__STR_HELPER__ |
( |
|
x | ) |
#x |
◆ MTL_Assert
#define MTL_Assert assert |
◆ MTL_SleepMs
#define MTL_SleepMs |
( |
|
_ms_ | ) |
std::this_thread::sleep_for(std::chrono::milliseconds(_ms_)) |
◆ MTL_StaticAssert
#define MTL_StaticAssert static_assert |
◆ MTL_Unused
#define MTL_Unused |
( |
|
x | ) |
(void)x; |
◆ WCOUT
#define WCOUT |
( |
|
__X__ | ) |
std::wcout << __X__ |