[cfe-users] bug in libc++

Manu monamimani at gmail.com
Wed Oct 2 16:56:45 PDT 2013


Hi this simple code is causing compilation error.
class Foo
{
public:

   Foo(Foo&&) noexcept = default;
   Foo& operator=(Foo&&) noexcept = default;

   Foo()
   {
   }

private:

   std::vector<std::string> vectorFoo_;
};

see errors here
http://coliru.stacked-crooked.com/a/ab2fb522c4982c72

But if I use libstdc++ it compile fine. So where is the bug libc++ or
libstdc++?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20131002/31a0f37b/attachment.html>


More information about the cfe-users mailing list