[cfe-users] is_move_constructible is broken?

Mani monamimani at gmail.com
Thu Aug 22 14:07:24 PDT 2013


Hi,

This might not be the right way to communicate this, but I think there's been a regression in the top of tree. In the following the static_assert for Foo work fine but I get a compile error for the static_assert of the class Boo.

class Foo
{
};
static_assert(std::is_move_constructible<Foo>::value, "Type is not move constructible.");

class Boo
{
   Boo(Boo&&) = default;
};
static_assert(std::is_move_constructible<Boo>::value, "Type is not move constructible."); // Compile error: static_assert failed "Type is not move constructible."

Emmanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130822/242318ba/attachment.html>


More information about the cfe-users mailing list