[Bug c++/67796] Definition for custom std::swap found by ADL but not used

2015-10-01 Thread rkirchge at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67796 --- Comment #2 from rkirchge at gmail dot com --- Thank you for the quick reply. Defining the swap overload in std does violate the standard, but it is the shortest example that reproduces the behavior I am seeing. In my code, I have defined a

[Bug c++/67796] New: Definition for custom std::swap found by ADL but not used

2015-10-01 Thread rkirchge at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rkirchge at gmail dot com Target Milestone: --- I am trying to use ADL to find a custom implementation of swap for tuples of an reference types. I am compiling with "-std=c++14 -Wall -W