
3 Sep
2010
3 Sep
'10
7:33 a.m.
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 unused_param(oo);