diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-05-13 21:12:06 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-05-13 21:12:06 +0100 |
commit | bceb07e3584c9d8ea3e5760636ae24ff7f8606ff (patch) | |
tree | 548aa85b283f5123201fab5a3f4c86265bd3d498 /libgo | |
parent | 0dd50fc6f13c02d9d548fd57e7f8f7020241e317 (diff) | |
download | gcc-bceb07e3584c9d8ea3e5760636ae24ff7f8606ff.zip gcc-bceb07e3584c9d8ea3e5760636ae24ff7f8606ff.tar.gz gcc-bceb07e3584c9d8ea3e5760636ae24ff7f8606ff.tar.bz2 |
PR libstdc++/90454.cc path construction from void*
Make the filesystem::path constructors SFINAE away for void* arguments,
instead of giving an error due to iterator_traits<void*>::reference.
PR libstdc++/90454.cc path construction from void*
* include/bits/fs_path.h (path::_Path): Use remove_pointer so that
pointers to void are rejected as well as void.
* include/experimental/bits/fs_path.h (path::_Path): Likewise.
* testsuite/27_io/filesystem/path/construct/80762.cc: Also check
pointers to void.
* testsuite/experimental/filesystem/path/construct/80762.cc: Likewise.
From-SVN: r271134
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions