aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-06-18 19:59:44 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-06-18 19:59:44 +0100
commitb0874c667d1bcc7e414f130dd4ec3973d388dbfb (patch)
tree07be2d2b825895ff064717384af7f979bd573fef /gcc
parentadac3a685da705d6811d4069f57e1bc73a95a957 (diff)
downloadgcc-b0874c667d1bcc7e414f130dd4ec3973d388dbfb.zip
gcc-b0874c667d1bcc7e414f130dd4ec3973d388dbfb.tar.gz
gcc-b0874c667d1bcc7e414f130dd4ec3973d388dbfb.tar.bz2
LWG 2989 hide path iostream operators from normal lookup
By only defining these operators as friends (with no namespace-scope declaration) they can only be found by ADL and do not participate in overload resolution for arguments of types other than path. LWG 2989 hide path iostream operators from normal lookup * include/bits/fs_path.h (operator<<, operator>>): Define inline as friends. * testsuite/27_io/filesystem/path/io/dr2989.cc: New. From-SVN: r261711
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions