Rosetta  2015.31
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Macros
assert.hh File Reference
#include <utility/backtrace.hh>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.
 

Macros

#define ASSERT_ONLY(x)   x
 Macro wrapper for paramters that used only indebug_assert(...) statments. Intended to supress 'unused parameter' warning. Ported from Rosetta++::Pack.cc. More...
 
#define MPI_ONLY(x)
 

Detailed Description

Author
Sergey Lyskov
Note
Some assert's related macros

Macro Definition Documentation

#define ASSERT_ONLY (   x)    x

Macro wrapper for paramters that used only indebug_assert(...) statments. Intended to supress 'unused parameter' warning. Ported from Rosetta++::Pack.cc.

Example of usage: ResfileReader::read_aa_list(utility::vector1< std::string > const & ASSERT_ONLY(tokens) ) { ...}

Referenced by numeric::deriv::dihedral_deriv_second(), and numeric::deriv::p1_theta_deriv().

#define MPI_ONLY (   x)