[PATCH] D19622: [libc++] Implement the member functions of a local struct.
Stephan T. Lavavej via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 29 11:05:58 PDT 2016
[Sebastian Redl]
> I rail against this warning here:
> http://stackoverflow.com/questions/18979503/why-locally-defined-struct-in-function-need-assignment-operator-copy-construct/18979812#18979812
> It's not just that the warning is silly, it's also a level 1 warning, which is extra-silly. (MSVC's silly warnings are usually level 4.)
Agreed. I've filed VSO#217735 "warning C4822 "local class member function does not have a body" is annoying and pointless, especially at level 1" in our internal database, recommending that the warning should be removed outright.
Thanks,
STL
More information about the cfe-commits
mailing list