Boost logo

Boost :

From: Gustavo Guerra (gustavobt_at_[hidden])
Date: 2002-01-27 13:43:33

----- Original Message -----
From: "Douglas Gregor" <gregod_at_[hidden]>

> On Sunday 27 January 2002 01:21 pm, you wrote:
> > Why don't you instead add
> > void bar() {}
> > Does GCC still warn when the function doesn't do anything?
> No, it doesn't. Is there some reason to prefer the above to what already
> exists?

Well, this way the optimizer may throw away the code for this function.
Anyway, I was just being nitpicky. Sorry for the noise.

Gustavo Guerra

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