Re: [PATCH] PR libstdc++/80762 avoid ambiguous __constructible_from

2018-12-13 Thread Jonathan Wakely
On 13/12/18 13:10 +0100, Christophe Lyon wrote: On Thu, 13 Dec 2018 at 12:00, Jonathan Wakely wrote: On 13/12/18 08:56 +0100, Christophe Lyon wrote: >On Wed, 12 Dec 2018 at 17:13, Jonathan Wakely wrote: >> >> Ensure we don't try to instantiate __is_constructible_from, >> because there are two

Re: [PATCH] PR libstdc++/80762 avoid ambiguous __constructible_from

2018-12-13 Thread Christophe Lyon
On Thu, 13 Dec 2018 at 12:00, Jonathan Wakely wrote: > > On 13/12/18 08:56 +0100, Christophe Lyon wrote: > >On Wed, 12 Dec 2018 at 17:13, Jonathan Wakely wrote: > >> > >> Ensure we don't try to instantiate __is_constructible_from, > >> because there are two partial specializations that are equall

Re: [PATCH] PR libstdc++/80762 avoid ambiguous __constructible_from

2018-12-13 Thread Jonathan Wakely
On 13/12/18 08:56 +0100, Christophe Lyon wrote: On Wed, 12 Dec 2018 at 17:13, Jonathan Wakely wrote: Ensure we don't try to instantiate __is_constructible_from, because there are two partial specializations that are equally good matches. PR libstdc++/80762 * include/bits/fs_pa

Re: [PATCH] PR libstdc++/80762 avoid ambiguous __constructible_from

2018-12-12 Thread Christophe Lyon
On Wed, 12 Dec 2018 at 17:13, Jonathan Wakely wrote: > > Ensure we don't try to instantiate __is_constructible_from, > 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

[PATCH] PR libstdc++/80762 avoid ambiguous __constructible_from

2018-12-12 Thread Jonathan Wakely
Ensure we don't try to instantiate __is_constructible_from, 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::_Pa