[PATCH] D119051: Extend the C++03 definition of POD to include defaulted functions
Bhramar Vatsa via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 11 06:38:46 PST 2022
Bhramar.vatsa added a comment.
Sorry, but I can only add a bit more confusion: https://godbolt.org/z/dzYhhxbz4
Gcc and clang differs in the two cases. Gcc at least packs the second case (without user defined constructor), but clang doesn't.
Uncomment/define macro 'PROPS' to check that the type-traits indicate in both cases that it can be considered POD.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits