Version: SMASH-3.1
smash::FormattingHelper< T > Struct Template Reference

#include <logging.h>

template<typename T>
struct smash::FormattingHelper< T >

Formatting helper.

Template Parameters
TValue that is being formatted.

Definition at line 175 of file logging.h.

Public Attributes

const T & value
 Value that is being formatted. More...
 
const int width
 Output width. More...
 
const int precision
 Precision that value is being formatted with. More...
 
const char *const unit
 Unit that is attached at the end of value. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const FormattingHelper &h)
 Nicely formatted output. More...
 

The documentation for this struct was generated from the following file: