/** @file xquantity_iostream.hpp * * Author: Roland Conybeare **/ #pragma once #include "xquantity.hpp" #include "natural_unit_iostream.hpp" //#include namespace xo { namespace qty { template inline std::ostream & operator<< (std::ostream & os, const xquantity & x) { os << x.scale() << x.abbrev(); return os; } } /*namespace qty*/ } /*namespace xo*/ /** end xquantity_iostream.hpp **/