Boost logo

Boost :

From: Jonathan de Halleux (dehalleux_at_[hidden])
Date: 2003-10-13 09:07:28


Btw, I could not compile your code on vs7.0. I'll try on 7.1 later.

>Units<double>::Dimensionless d1;
>double d2;
>
>How do people feel about implicit conversion to allow:
>
>d2 = my_acc / gravity;
>or
>d1 = 5.0;

Dimensionless is a good solution. Implicit conversion should be disallowed.

Jonathan de Halleux

----------------------------------------------------------------------------------

Jonathan de Halleux, Research Assistant
Center for Systems Engineering and Applied Mechanics (CESAME)
Universite catholique de Louvain
Batiment Euler , Av. Georges Lemaitre, 4 Tel : +32-10-47 2595
B-1348 Louvain-la-Neuve Belgium
E-mail : dehalleux_at_[hidden]
-----------------------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk