xo-unit: streamline xquantity printing, match quantity printing

This commit is contained in:
Roland Conybeare 2024-05-01 10:25:10 -05:00
commit bb90a37460

View file

@ -17,10 +17,14 @@ namespace xo {
operator<< (std::ostream & os,
const Quantity<Repr, Int> & x)
{
os << x.scale() << x.abbrev();
#ifdef NOT_USING
os << "<qty"
<< xtag("scale", x.scale())
<< xtag("unit", x.unit())
<< ">";
#endif
return os;
}