Boost logo

Boost :

Subject: Re: [boost] Ignoring unused type aliases in concepts
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2018-12-17 18:10:29


Thanks.

A fumbling edit just done.

I will add the rest when I have got a better grip on Markdown.

And add Mateusz's option 3 and 4.

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of stefan via Boost
> Sent: 17 December 2018 17:16
> To: boost_at_[hidden]
> Cc: stefan
> Subject: Re: [boost] Ignoring unused type aliases in concepts
> 
> Hi Paul,
> 
> On 2018-12-17 11:28 a.m., Paul A. Bristow via Boost wrote:
> >> -----Original Message-----
> >> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Mateusz Loskot via Boost
> >> Sent: 17 December 2018 13:42
> >> To: boost_at_[hidden]
> >> 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.
> 
> I don't think you should have to wait for any formal decision. It's a
> wiki ! :-)
> 
> Anyhow, I have created a placeholder page here:
> https://github.com/boostorg/boost/wiki/Guidelines:-Warnings,
> 
> so please fill it in. If you (or anyone else for that matter) think this
> is the wrong place, feel free to rename it.
> 
> Stefan
> 
> --
> 
>        ...ich hab' noch einen Koffer in Berlin...
> 
> 
> 
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

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