forked from mpusz/mp-units
Move known_first_factor specialization outside namespace
This commit is contained in:
@@ -32,13 +32,12 @@
|
|||||||
#include <units/isq/si/speed.h>
|
#include <units/isq/si/speed.h>
|
||||||
#include <units/unit.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.
|
// Necessary to factor `5'344'285'992'678`, which appears in the value for eV/c.
|
||||||
template<>
|
template<>
|
||||||
inline constexpr std::optional<std::intmax_t> units::known_first_factor<296'904'777'371> = 157'667;
|
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 kilogram_metre_per_second : derived_unit<kilogram_metre_per_second> {};
|
||||||
|
|
||||||
struct eV_per_c :
|
struct eV_per_c :
|
||||||
|
Reference in New Issue
Block a user