aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-12-12 16:13:43 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2018-12-12 16:13:43 +0000
commit6b7c0b5559316028d392d2bf9a4a0ca9e7562ce7 (patch)
tree3e41fc81cb2a566f1fdfd23c505cc73b622d5262 /gcc
parent5da5fefeeb90d1f3bc750f2c38c6917634127734 (diff)
downloadgcc-6b7c0b5559316028d392d2bf9a4a0ca9e7562ce7.zip
gcc-6b7c0b5559316028d392d2bf9a4a0ca9e7562ce7.tar.gz
gcc-6b7c0b5559316028d392d2bf9a4a0ca9e7562ce7.tar.bz2
PR libstdc++/80762 avoid ambiguous __constructible_from<void, void>
Ensure we don't try to instantiate __is_constructible_from<void, void>, because there are two partial specializations that are equally good matches. PR libstdc++/80762 * include/bits/fs_path.h (path::_Path): Use remove_cv_t and is_void. * include/experimental/bits/fs_path.h (path::_Path): Likewise. * testsuite/27_io/filesystem/path/construct/80762.cc: New test. * testsuite/experimental/filesystem/path/construct/80762.cc: New test. From-SVN: r267056
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions