Boost logo

Boost :

From: Michael Caisse (mcaisse-lists_at_[hidden])
Date: 2022-04-16 18:46:00


On 4/16/22 07:57, Vinnie Falco via Boost wrote:
> Isn't it better to just write
>
> (void) x;
>
> instead of including a whole header file:
>
> #include <boost/core/ignore_unused>
>
> just to write
>
> boost::ignore_unused( x );
>
> ?
>

 From a grep'n code point of view, I prefer ignore_unused.

-- 
Michael Caisse

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