MPQC
3.0.0-alpha
|
Modules | |
Profile | |
Classes | |
struct | mpqc::Exception |
MPQC exception class. More... | |
struct | mpqc::static_mutex< T > |
Static mutex factory. More... | |
struct | mpqc::mutex |
Static mutex instances. More... | |
struct | mpqc::cstring |
cstring-like object to cast a value to const char*< More... | |
Macros | |
#define | MPQC_DEBUG(...) mpqc::debug(__FILE__, __LINE__, __VA_ARGS__) |
#define | MPQC_EXCEPTION(...) mpqc::Exception(__FILE__, __LINE__, __VA_ARGS__) |
Functions | |
template<typename T > | |
std::string | mpqc::string_cast (const T &value) |
cast type T to string | |
Variables | |
static boost::mutex | mpqc::static_mutex< T >::mutex |
static int64_t | mpqc::static_mutex< T >::lock_count = int64_t(0) |
Miscellaneous utilities
#define MPQC_DEBUG | ( | ... | ) | mpqc::debug(__FILE__, __LINE__, __VA_ARGS__) |
Debug/print a printf-formatted statement with file:line prepended.
#define MPQC_EXCEPTION | ( | ... | ) | mpqc::Exception(__FILE__, __LINE__, __VA_ARGS__) |
Constructs mpqc::Exception with file, line information and an optional printf-style format and arguments