Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-09-25 08:07:14


--- In boost_at_y..., John Maddock <John_Maddock_at_c...> wrote:
>
> >I currently have need of this for Boost.Threads, so... Any
thoughts
> >or comments on this?
>
> Just a thought but whats wrong with:
>
> (void) parameter_name;
>
> which suppresses the warning and doesn't generate any code, even
when
> inline expansions are turned off in the compiler....

Nothing other than readability. This doesn't document (within the
code) anything, except to a very few with intimate knowledge of this
trick *AND* who use it frequently.

Bill Kempf


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