mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
@@ -78,8 +78,9 @@ concept invoke_result_of_ =
|
|||||||
*/
|
*/
|
||||||
template<Reference auto R, RepresentationOf<R.quantity_spec.character> Rep = double>
|
template<Reference auto R, RepresentationOf<R.quantity_spec.character> Rep = double>
|
||||||
class quantity {
|
class quantity {
|
||||||
Rep number_;
|
|
||||||
public:
|
public:
|
||||||
|
Rep number_;
|
||||||
|
|
||||||
// member types and values
|
// member types and values
|
||||||
static constexpr Reference auto reference = R;
|
static constexpr Reference auto reference = R;
|
||||||
static constexpr QuantitySpec auto quantity_spec = reference.quantity_spec;
|
static constexpr QuantitySpec auto quantity_spec = reference.quantity_spec;
|
||||||
|
Reference in New Issue
Block a user