xo-unit: simplify quantity<> stream inserter
This commit is contained in:
parent
00245ad378
commit
a0d5991d01
1 changed files with 1 additions and 6 deletions
|
|
@ -10,12 +10,7 @@
|
|||
|
||||
namespace xo {
|
||||
namespace qty {
|
||||
template <
|
||||
typename Repr = double,
|
||||
typename Int = std::int64_t,
|
||||
natural_unit<Int> NaturalUnit = natural_unit<Int>(),
|
||||
typename Int2x = detail::width2x<Int>
|
||||
>
|
||||
template < auto NaturalUnit, typename Repr, typename Int2x >
|
||||
inline std::ostream &
|
||||
operator<< (std::ostream & os,
|
||||
const quantity<NaturalUnit, Repr, Int2x> & x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue