Rosetta Utilities  2014.35
Namespaces | Macros
assert.hh File Reference

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 in 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 in 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)