This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3 PATCH] Implement LWG 2485


On 29/10/17 12:46 +0200, Ville Voutilainen wrote:
On 29 October 2017 at 00:57, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
2017-10-29  Ville Voutilainen  <ville.voutilainen@gmail.com>

    Implement LWG 2485


The full testsuite passes on Linux-PPC64. The debug mode tests for
array have been run manually
on Linux-x64.

Looks like there are a couple of Doxygen comments in <tuple> that
don't fit in 80 columns, OK for trunk with those fixed. Thanks.


One solution would be to replace the separate comments on the
different get overloads with a comment group:

/// Return a reference to the ith element of a tuple
/// @{
... define all four overloads
// @}

It seems fairly self-explanatory to me that if the tuple is a const
lvalue the returned reference is const lvalue reference, and if the
tuple is a non-const rvalue the returned tuple is ... blah blah.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]