https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80762

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Dec 12 16:13:43 2018
New Revision: 267056

URL: https://gcc.gnu.org/viewcvs?rev=267056&root=gcc&view=rev
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/27_io/filesystem/path/construct/80762.cc
   
trunk/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/fs_path.h
    trunk/libstdc++-v3/include/experimental/bits/fs_path.h

Reply via email to