Boost logo

Boost :

Subject: Re: [boost] Towards a Warning free code policy proposal
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2010-09-03 03:33:25

On 03/09/10 05:23, Jeff Flinn wrote:

>> C4100 (Unreferenced formal parameter) - delete the parameter name or
>> add a reference to the parameter in the function: (void)foo;
> I thought I remember the latter triggering another warning. I don't
> remember the exact verbage or compiler. Or does the prefix (void)
> supress that?

could be fixed by having an helper details function like:

void unused_param(T const&) {}

and do


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