Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-08-22 04:53:05


On Aug 22, 2006, at 7:51 AM, Andy Little wrote:

>
> "Dave Steffen" <dgsteffen_at_[hidden]> wrote in message
> news:17642.14441.683655.649056_at_yttrium.numerica.us...
>>
>> Comment from the back row: Some people will want automatic
>> conversions. Some people will want a compilation failure. Both are
>> perfectly reasonable behaviors, and which one is appropriate is
>> project specific.
>>
>> If (either) units library fails to provide both capabilities, it will
>> be unusable for some category of projects.
>>
>> I don't know how to control this, nor what the interface should look
>> like, but I am certain that a good units library will be able to go
>> both ways.
>
> What? By means of a Macro switch in the config header?

If we really need it, then better with a template parameter in the
classes so that both can coexist

Matthias


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