Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-31 09:23:33


----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>

> One thought I had:
>
> Isn't it true that anything convertible from float is also convertible
from
> int?
> When the first argument is a floating type, we could check to see whether
> int is convertible to the 2nd argument.
>
> There might be issues here with reference parameters; I don't know.
>
> -Dave

I tried that, and there do indeed seem to be issues with reference
parameters. GCC doesn't have any #pragmas, so I guess I'm stuck with
warnings in some cases.

-Dave


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