lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Third-millennium GOTW#1: is <int> special?


From: Greg Chicares
Subject: Re: [lmi] Third-millennium GOTW#1: is <int> special?
Date: Sun, 5 Feb 2017 12:31:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

On 2017-02-04 22:16, Vadim Zeitlin wrote:
> On Sat, 4 Feb 2017 19:12:23 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC> +    std::vector<double> d2(5.0, 7.0);    // size 5
> GC> +    std::vector<double> d3(5.1L, 7.0);   // size 5
> 
>  And those should warn about implicit double-to-int conversion, so they're
> not that bad.

But they don't, because we have '-Wno-conversion' due to boost.

I tried fixing that. It's a significant task. I think I'd better
re-postpone that and finish working on input sequences first.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]