From a0d5991d01215f4a572cb7131fb3ad272d5f61eb Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 4 May 2024 01:35:02 -0400 Subject: [PATCH] xo-unit: simplify quantity<> stream inserter --- include/xo/unit/quantity_iostream.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/xo/unit/quantity_iostream.hpp b/include/xo/unit/quantity_iostream.hpp index 1e4826d7..e30dc1dc 100644 --- a/include/xo/unit/quantity_iostream.hpp +++ b/include/xo/unit/quantity_iostream.hpp @@ -10,12 +10,7 @@ namespace xo { namespace qty { - template < - typename Repr = double, - typename Int = std::int64_t, - natural_unit NaturalUnit = natural_unit(), - typename Int2x = detail::width2x - > + template < auto NaturalUnit, typename Repr, typename Int2x > inline std::ostream & operator<< (std::ostream & os, const quantity & x)