Re: [PATCH] Fix std::experimental::shared_ptr SFINAE constraints

2016-10-19 Thread Jonathan Wakely
On 19/10/16 10:35 +0100, Jonathan Wakely wrote: There are lots of SFINAE checks missing from experimental::shared_ptr, and we even test that shared_ptr(new derived[1]) works, when it should be ill-formed. Moar tests! Tested powerpc64le-linux, committed to trunk. commit 9258e632b7810db67cef4e6

[PATCH] Fix std::experimental::shared_ptr SFINAE constraints

2016-10-19 Thread Jonathan Wakely
There are lots of SFINAE checks missing from experimental::shared_ptr, and we even test that shared_ptr(new derived[1]) works, when it should be ill-formed. I implemented a new trait for std::shared_ptr to check the conversions, but I'm not ready to commit that work yet, so this just adds it to e