diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-02-04 03:10:53 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-02-04 03:10:53 +0000 |
commit | be71d336bd7718ed622fffb7aa9e66757f62c249 (patch) | |
tree | e82ff031784031ad35024b83cee7608165371d0b /libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm | |
parent | 21f2004991b02dc6cb0fd3be18d6cad85092bd5c (diff) | |
download | bcm5719-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/numerics/numeric.ops/numeric.ops.lcm')
0 files changed, 0 insertions, 0 deletions