MPQC  3.0.0-alpha
mpqc.Core.Util

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*< > string. 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)
 

Detailed Description

Miscellaneous utilities

Macro Definition Documentation

◆ MPQC_DEBUG

#define MPQC_DEBUG (   ...)    mpqc::debug(__FILE__, __LINE__, __VA_ARGS__)

Debug/print a printf-formatted statement with file:line prepended.

MPQC_DEBUG(); // print only file:line information
MPQC_DEBUG("(%i,%i) = %f\n", i, j, v(i,j));

◆ MPQC_EXCEPTION

#define MPQC_EXCEPTION (   ...)    mpqc::Exception(__FILE__, __LINE__, __VA_ARGS__)

Constructs mpqc::Exception with file, line information and an optional printf-style format and arguments

MPQC_DEBUG
#define MPQC_DEBUG(...)
Definition: debug.hpp:39

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.