<div dir="ltr">Hi this simple code is causing compilation error.<div><div>class Foo</div><div>{</div><div>public:</div><div><br></div><div> Foo(Foo&&) noexcept = default;</div><div> Foo& operator=(Foo&&) noexcept = default;</div>
<div><br></div><div> Foo()</div><div> {</div><div> }</div><div><br></div><div>private:</div><div><br></div><div> std::vector<std::string> vectorFoo_;</div><div>};</div><div><br></div><div>see errors here</div>
<div><a href="http://coliru.stacked-crooked.com/a/ab2fb522c4982c72">http://coliru.stacked-crooked.com/a/ab2fb522c4982c72</a><br></div></div><div><br></div><div>But if I use libstdc++ it compile fine. So where is the bug libc++ or libstdc++?</div>
<div><br></div><div>Thanks</div></div>