-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Mateusz Loskot via Boost Sent: 17 December 2018 13:42 To: boost@lists.boost.org Cc: Mateusz Loskot Subject: [boost] Ignoring unused type aliases in concepts
Hi,
In concepts, such unused type aliases are not uncommon. What is the best way to ignore compiler warnings about those?
Options I'm aware of are: 1. Adjust compile options in build configuration (Jamfile) 2. Use #pragma in headers 3. Use boost::ignore_unused_variable_warning(alias{}) (or little brother boost::ignore_unused) 4. Ignore ignoring them.
The options 1 and 2 are mentioned on https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines
The option 3 is not and is there any particular reason why?
No reason, except that TRAC is now read-only, so I can edit it. I asked before for suggestions about if and where this document should be placed in Boost's GitHub world, but didn't get any response. If a decision can be made on this, then I will move it and update to include option 3. Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830