Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] division with absolute temperature
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-04-18 17:10:57


On 04/18/2016 03:32 AM, João Leal wrote:
> I'm trying to use absolute temperature in some expressions.
> Unfortunately I'm having some issues with the compilation.
> For instance, if I divide an absolute temperature by itself I would expect
> to get 1 dimensionless, however that will cause a compilation error.

  This is forbidden by design. Division of
absolute temperatures only makes sense
for kelvin. If you're only using kelvin,
then you don't really need to use absolute.

In Christ,
Steven Watanabe

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