mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
docs: another small cleanup of quantity
This commit is contained in:
@@ -79,7 +79,7 @@ concept invoke_result_of_ =
|
||||
template<Reference auto R, RepresentationOf<R.quantity_spec.character> Rep = double>
|
||||
class quantity {
|
||||
public:
|
||||
Rep number_;
|
||||
Rep number_; // needs to be public for a structural type
|
||||
|
||||
// member types and values
|
||||
static constexpr Reference auto reference = R;
|
||||
|
Reference in New Issue
Block a user