forked from mpusz/mp-units
feat: reference
added to quantity_kind
, quantity_point
, and quantity_point_kind
This commit is contained in:
@@ -83,6 +83,7 @@ public:
|
||||
using dimension = typename quantity_type::dimension;
|
||||
using unit = typename quantity_type::unit;
|
||||
using rep = typename quantity_type::rep;
|
||||
static constexpr units::reference<D, U> reference{};
|
||||
|
||||
private:
|
||||
quantity_type q_;
|
||||
|
@@ -49,6 +49,7 @@ public:
|
||||
using dimension = typename quantity_type::dimension;
|
||||
using unit = typename quantity_type::unit;
|
||||
using rep = typename quantity_type::rep;
|
||||
static constexpr units::reference<D, U> reference{};
|
||||
|
||||
private:
|
||||
quantity_type q_{};
|
||||
|
@@ -50,6 +50,7 @@ public:
|
||||
using dimension = typename quantity_type::dimension;
|
||||
using unit = typename quantity_type::unit;
|
||||
using rep = typename quantity_type::rep;
|
||||
static constexpr units::reference<D, U> reference{};
|
||||
|
||||
private:
|
||||
quantity_kind_type qk_;
|
||||
|
Reference in New Issue
Block a user