8#ifndef BEAST_UNIT_TEST_AMOUNT_HPP
9#define BEAST_UNIT_TEST_AMOUNT_HPP
30 template <
class =
void>
45 s << t.
n_ <<
" " << t.
what_ << ((t.
n_ != 1) ?
"s" :
"");
Utility for producing nicely composed output of amounts with units.
std::string const & what_
friend std::ostream & operator<<(std::ostream &s, amount const &t)
amount & operator=(amount const &)=delete
amount(amount const &)=default
std::ostream & operator<<(std::ostream &s, amount const &t)