Boost logo

Boost :

From: Scott McCaskill (scott_at_[hidden])
Date: 2001-09-25 23:49:06


> Is the issue that a and b are in fact use in some control paths, and so
> can't just be commented out (or outright removed), yet the compiler is
> warning because they aren't used in all control paths?
>

I have seen cases where assert() was used to check the return value of a
function. In such cases, the return value must be stored in a temporary,
and as a result there may be warnings in non-debug builds.

Scott McCaskill


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