Boost logo

Boost :

Subject: Re: [boost] Current Guidance on Compiler Warnings?
From: Rob Stewart (rstewart_at_[hidden])
Date: 2018-11-25 13:41:45

On November 24, 2018 10:31:22 PM EST, Emil Dotchevski via Boost <boost_at_[hidden]> wrote:
> Here is my argument again:
> 1) A cast has different semantics than an implicit conversion.
> 2) If the implicit conversion is correct, replacing it with a cast to
> silence a warning is incorrect.
> Which of these two points do you think is false?

Both may be true or false. A cast only has different semantics when casting to types different than the implicit conversion. Your assumption, all along, is that the cast is to a different type.

(Sent from my portable computation device.)

Boost list run by bdawes at, gregod at, cpdaniel at, john at