Boost logo

Boost Users :

Subject: [Boost-users] units length operator * / area
From: Michael Powell (mwpowellnm_at_[hidden])
Date: 2011-09-08 10:23:02

Units users,

How do I define an operator* which takes a quantity<length>,quantity<length>
and returns a quantity<area>? This doesn't seem to be defined in the
boost::units, which somewhat surprises me. How do we make something like
that part of the core definition?



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at