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


AMDG

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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net