Rosetta
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 0.
 

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

◆ ASSERT_ONLY

#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) ) { ...}

◆ MPI_ONLY

#define MPI_ONLY (   x)