public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/60448] New: swap_ranges does not use ADL correctly
@ 2014-03-06 13:55 public at alisdairm dot net
  2014-03-06 14:15 ` [Bug libstdc++/60448] " public at alisdairm dot net
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: public at alisdairm dot net @ 2014-03-06 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60448
           Summary: swap_ranges does not use ADL correctly
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: public at alisdairm dot net

Created attachment 32286
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32286&action=edit
Demonstrate swap_ranges does not find swap via ADL

The attached program does not correctly use ADL to find the 'swap' member
implemented inside the tagged local class in C++11/C++1y builds.  It is not
expected to compile in C++03 or earlier dialects.

The problem compiles and runs as expected on Clang 3.4 with libc++ in both
C++11 and C++1y modes.


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

end of thread, other threads:[~2014-03-07 10:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-06 13:55 [Bug libstdc++/60448] New: swap_ranges does not use ADL correctly public at alisdairm dot net
2014-03-06 14:15 ` [Bug libstdc++/60448] " public at alisdairm dot net
2014-03-06 15:02 ` redi at gcc dot gnu.org
2014-03-06 15:28 ` redi at gcc dot gnu.org
2014-03-06 15:40 ` redi at gcc dot gnu.org
2014-03-06 16:27 ` redi at gcc dot gnu.org
2014-03-06 16:46 ` glisse at gcc dot gnu.org
2014-03-06 16:59 ` glisse at gcc dot gnu.org
2014-03-06 17:36 ` public at alisdairm dot net
2014-03-06 19:49 ` glisse at gcc dot gnu.org
2014-03-07  8:23 ` redi at gcc dot gnu.org
2014-03-07  8:34 ` public at alisdairm dot net
2014-03-07  9:12 ` redi at gcc dot gnu.org
2014-03-07 10:00 ` glisse at gcc dot gnu.org
2014-03-07 10:58 ` public at alisdairm dot net

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