public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/50159] New: tuple_cat only accepts two arguments
@ 2011-08-22 21:15 jewillco at osl dot iu.edu
  2011-08-22 22:26 ` [Bug libstdc++/50159] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jewillco at osl dot iu.edu @ 2011-08-22 21:15 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50159

             Bug #: 50159
           Summary: tuple_cat only accepts two arguments
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jewillco@osl.iu.edu


The tuple_cat function in <tuple> (in C++0x) is documented in the FDIS as
taking any number of parameters, while the libstdc++ version accepts exactly
two.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/50159] tuple_cat only accepts two arguments
  2011-08-22 21:15 [Bug libstdc++/50159] New: tuple_cat only accepts two arguments jewillco at osl dot iu.edu
@ 2011-08-22 22:26 ` redi at gcc dot gnu.org
  2011-09-11 17:45 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2011-08-22 22:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50159

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-08-22
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-22 21:28:03 UTC ---
Yep, I'd documented this as missing in the manual, but apparently that update
isn't shown on the online version:

    <row>
      <?dbhtml bgcolor="#B0B0B0" ?>
      <entry>20.4.2.4</entry>
      <entry>Tuple creation functions</entry>
      <entry>Partial</entry>
      <entry><code>tuple_cat</code> should be a single variadic signature (DR
1385)</entry>
    </row>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/50159] tuple_cat only accepts two arguments
  2011-08-22 21:15 [Bug libstdc++/50159] New: tuple_cat only accepts two arguments jewillco at osl dot iu.edu
  2011-08-22 22:26 ` [Bug libstdc++/50159] " redi at gcc dot gnu.org
@ 2011-09-11 17:45 ` paolo.carlini at oracle dot com
  2011-09-11 22:11 ` paolo at gcc dot gnu.org
  2011-09-11 23:27 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-11 17:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50159

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
   Target Milestone|---                         |4.7.0

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-11 16:58:41 UTC ---
On it.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/50159] tuple_cat only accepts two arguments
  2011-08-22 21:15 [Bug libstdc++/50159] New: tuple_cat only accepts two arguments jewillco at osl dot iu.edu
  2011-08-22 22:26 ` [Bug libstdc++/50159] " redi at gcc dot gnu.org
  2011-09-11 17:45 ` paolo.carlini at oracle dot com
@ 2011-09-11 22:11 ` paolo at gcc dot gnu.org
  2011-09-11 23:27 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2011-09-11 22:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50159

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-11 22:10:26 UTC ---
Author: paolo
Date: Sun Sep 11 22:10:21 2011
New Revision: 178770

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178770
Log:
2011-09-11  Daniel Krugler  <daniel.kruegler@googlemail.com>

    PR libstdc++/50159
    * include/std/tuple (tuple_cat): Reimplement according to the
    resolution of LWG 1385.
    * include/std/type_traits: Define __and_ and __or_ for zero
    arguments too; minor tweaks.
    * testsuite/20_util/tuple/creation_functions/tuple_cat.cc: New.
    * testsuite/20_util/tuple/creation_functions/constexpr.cc: Disable
    for now tuple_cat test.
    * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
    line numbers.
    * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
    * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
    Likewise.
    * doc/xml/manual/status_cxx200x.xml: Update.

Added:
    trunk/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tuple_cat.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/status_cxx200x.xml
    trunk/libstdc++-v3/include/std/tuple
    trunk/libstdc++-v3/include/std/type_traits
    trunk/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
   
trunk/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
   
trunk/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
    trunk/libstdc++-v3/testsuite/20_util/tuple/creation_functions/constexpr.cc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/50159] tuple_cat only accepts two arguments
  2011-08-22 21:15 [Bug libstdc++/50159] New: tuple_cat only accepts two arguments jewillco at osl dot iu.edu
                   ` (2 preceding siblings ...)
  2011-09-11 22:11 ` paolo at gcc dot gnu.org
@ 2011-09-11 23:27 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-11 23:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50159

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-11 22:11:19 UTC ---
Done for 4.7.0.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-11 22:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 21:15 [Bug libstdc++/50159] New: tuple_cat only accepts two arguments jewillco at osl dot iu.edu
2011-08-22 22:26 ` [Bug libstdc++/50159] " redi at gcc dot gnu.org
2011-09-11 17:45 ` paolo.carlini at oracle dot com
2011-09-11 22:11 ` paolo at gcc dot gnu.org
2011-09-11 23:27 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).