mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-07 06:04:27 +02:00
Move known_first_factor specialization outside namespace
This commit is contained in:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user