<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 22, 2013, at 2:07 PM, Mani <<a href="mailto:monamimani@gmail.com">monamimani@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>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.<br><div><span style="background-color: transparent;"><br></span></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">class Foo</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">{</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">};</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">static_assert(std::is_move_constructible<Foo>::value, "Type is not move constructible.");</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px; "><span style="background-color: transparent;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">class Boo</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">{</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">   Boo(Boo&&) = default;</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">};</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="background-color: transparent;">static_assert(std::is_move_constructible<Boo>::value, "Type is not move constructible."); // Compile </span><span style="text-indent: -12px; ">error: static_assert failed "Type is not move constructible."</span></div></div></div></div></blockquote><br></div><div>I think that Boo's move constructor needs to be public.</div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">-- Marshall<br><br>Marshall Clow     Idio Software   <<a href="mailto:mclow.lists@gmail.com">mailto:mclow.lists@gmail.com</a>><br><br>A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).<br>        -- Yu Suzuki</span>

</div>
<br></body></html>