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?

Thanks,

Michael



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net