summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.function.objects
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-02-04 03:10:53 +0000
committerEric Fiselier <eric@efcs.ca>2018-02-04 03:10:53 +0000
commitbe71d336bd7718ed622fffb7aa9e66757f62c249 (patch)
treee82ff031784031ad35024b83cee7608165371d0b /libcxx/test/std/depr/depr.function.objects
parent21f2004991b02dc6cb0fd3be18d6cad85092bd5c (diff)
downloadbcm5719-llvm-be71d336bd7718ed622fffb7aa9e66757f62c249.tar.gz
bcm5719-llvm-be71d336bd7718ed622fffb7aa9e66757f62c249.zip
Implement LWG2989: path's streaming operators allow everything under the sun.
Because path can be constructed from a ton of different types, including string and wide strings, this caused it's streaming operators to suck up all sorts of silly types via silly conversions. For example: using namespace std::experimental::filesystem::v1; std::wstring w(L"wide"); std::cout << w; // converts to path. This patch tentatively adopts the resolution to LWG2989 and fixes the issue by making the streaming operators friends of path. llvm-svn: 324189
Diffstat (limited to 'libcxx/test/std/depr/depr.function.objects')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud