Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2022-04-16 14:57:05


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 );

?

-- 
Regards,
Vinnie
Follow me on GitHub: https://github.com/vinniefalco

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