diff --git a/src/core/include/mp-units/framework/representation_concepts.h b/src/core/include/mp-units/framework/representation_concepts.h index d802163d7..6a999516d 100644 --- a/src/core/include/mp-units/framework/representation_concepts.h +++ b/src/core/include/mp-units/framework/representation_concepts.h @@ -95,6 +95,7 @@ concept ScalarRepresentation = Scalar && WeaklyRegular && requires(T a, T { a / f } -> Scalar; // scalar operations + { -a } -> Scalar; { a + b } -> Scalar; { a - b } -> Scalar; { a* b } -> Scalar; @@ -112,6 +113,7 @@ concept ComplexRepresentation = Complex && WeaklyRegular && requires(T a, { a / T(f) } -> Complex; // complex operations + { -a } -> Complex; { a + b } -> Complex; { a - b } -> Complex; { a* b } -> Complex; @@ -134,6 +136,7 @@ concept VectorRepresentation = Vector && WeaklyRegular && requires(T a, T { a / f } -> Vector; // vector operations + { -a } -> Vector; { a + b } -> Vector; { a - b } -> Vector; // TBD