PR libstdc++/80504 qualify calls to avoid ADL
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 Apr 2017 11:40:07 +0000 (12:40 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 24 Apr 2017 11:40:07 +0000 (12:40 +0100)
commit6e2e575a032dfc4f6a3c88dfc71282bf38cd8890
tree13228fadab80b3866aeb12211bd8e4a0025f4b73
parent71f257f78e8b2568c76f226d665b890902453121
PR libstdc++/80504 qualify calls to avoid ADL

PR libstdc++/80504
* include/bits/refwrap.h (ref, cref): Qualify calls.
* testsuite/20_util/reference_wrapper/80504.cc: New test.

From-SVN: r247094
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/refwrap.h
libstdc++-v3/testsuite/20_util/reference_wrapper/80504.cc [new file with mode: 0644]