Move known_first_factor specialization outside namespace

This commit is contained in:
Chip Hogg
2022-06-15 21:34:45 +00:00
parent c8ec771d69
commit 3916b29e53

View File

@@ -32,13 +32,12 @@
#include <units/isq/si/speed.h>
#include <units/unit.h>
namespace units::isq::si::hep {
// Necessary to factor `5'344'285'992'678`, which appears in the value for eV/c.
template<>
inline constexpr std::optional<std::intmax_t> units::known_first_factor<296'904'777'371> = 157'667;
namespace units::isq::si::hep {
struct kilogram_metre_per_second : derived_unit<kilogram_metre_per_second> {};
struct eV_per_c :