Skip to content

Commit

Permalink
xo-unit: simplify quantity<> stream inserter
Browse files Browse the repository at this point in the history
  • Loading branch information
Rconybea committed May 4, 2024
1 parent 00245ad commit a0d5991
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/xo/unit/quantity_iostream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a0d5991

Please sign in to comment.