|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-08-31 11:16:59
"Andy Little" <andy_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:87d5aim3d8.fsf_at_pereiro.peloton...
>
>>> typedef complex<resistance> impedance;
>>> complex<voltage> v;
>>> complex<current> i
>>>
>>> impedance z = v / i;
>>>
>>> This is of course an entirely practical example.
>>
>> Without knowing the details of your library, a well-designed generic
>> library usually defines non-intrusive concepts that allow any type to
>> satisfy the requirements, given some additional traits and functions.
>> There should be no need to write a new quaternion.
>
> Without knowing the details of Your library....etcetera...
Huh?
> One way or another, presenting Maxwells Equations in the form of physical
> quantities is a goal of Quan.
What does that have to do with what I posted?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk