Empirical
Namespaces | Macros | Functions
debug.h File Reference

Basic tools for use in developing high-assurance code. More...

#include <iostream>
#include <set>
#include <string>
#include <type_traits>

Go to the source code of this file.

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Macros

#define BlockRelease(BLOCK)
 

Functions

static void emp::Depricated (const std::string &name, const std::string &desc="")
 Depricated() prints its contents exactly once to notify a user of a depricated function. More...
 

Detailed Description

Basic tools for use in developing high-assurance code.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2015-2017
Note
Status: BETA

Macro Definition Documentation

#define BlockRelease (   BLOCK)

BlockRelease() will halt compilation if NDEBUG is on. It is useful to include alongside debug print code that you want to remember to remove when you are done debugging.