$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jan Langer (jan_at_[hidden])
Date: 2003-10-16 17:07:50
Hugo Duncan wrote:
>>> Agreed, but how do you use a unit such as BTU which is not defined
>>> in terms of units of fundamental dimensions?
>
>> how about:
>> quantity <double, energy> const btu = 1055 * joules;
>
> energy is not a fundamental dimension.
>
> joules = kg·m2/s2 [ M L^2 T^-2 ]
yes of course. but why shouldn't it be used as the dimension of a quantity?
something like
typedef list_c <int, 1, 2, -2>::type energy;
would be defined somewhere in the library.
jan
-- jan langer ... jan_at_[hidden] "pi ist genau drei"