1#ifndef MPQC_UTILITY_CHECK_HPP
2#define MPQC_UTILITY_CHECK_HPP
4#include "mpqc/utility/exception.hpp"
7#include <boost/current_function.hpp>
11 inline void check_failed(
char const *file,
long line,
14 throw mpqc::Exception(file, line, (std::string(function) + expr).c_str());
19#define MPQC_CHECK(expr) \
20 ((expr) ? ((void)0) : ::mpqc::check_failed \
21 (__FILE__, __LINE__, BOOST_CURRENT_FUNCTION, #expr))
Contains new MPQC code since version 3.
Definition integralenginepool.hpp:37
MPQC exception class.
Definition exception.hpp:20