MCKL
Monte Carlo Kernel Library
Classes | Namespaces | Functions
assert.hpp File Reference
#include <mckl/internal/config.h>
#include <cassert>
#include <cmath>
#include <exception>
#include <iostream>
#include <limits>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

class  mckl::RuntimeAssert
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename T >
bool mckl::internal::is_nullptr (T ptr, std::true_type)
 
template<typename T >
bool mckl::internal::is_nullptr (T, std::false_type)
 
template<typename T >
bool mckl::internal::is_nullptr (T ptr)
 
bool mckl::internal::is_nullptr (std::nullptr_t)
 
void mckl::runtime_assert (bool cond, const char *msg, bool soft=false)
 
void mckl::runtime_assert (bool cond, const std::string &msg, bool soft=false)
 
template<typename Except >
void mckl::runtime_assert (bool cond, const char *msg)
 
template<typename Except >
void mckl::runtime_assert (bool cond, const std::string &msg)
 
template<typename IntType , typename SizeType >
void mckl::internal::size_check (SizeType, const char *, std::false_type)
 
template<typename IntType , typename SizeType >
void mckl::internal::size_check (SizeType n, const char *f, std::true_type)
 
template<typename IntType , typename SizeType >
void mckl::internal::size_check (SizeType n, const char *f)