I'm trying to add two quantities together. One quantity was created using the si system and the other was created directly.
quantity<si::length> L = 2.0 * meters;
I thought what this meant was a quantity value was being creating with the si::length dimension. The unit of measurement for si::length is the meter and therefore the value 2.0 is being stored as 2.0 meters. I thought this was confirmed when the display of the quantity value showed "2 m". If this isn't what is occurring could you shed some light on this?
Ryan