r267056 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Dec 12 16:13:00 GMT 2018


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



More information about the Gcc-cvs mailing list