[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
There are two cases, only differing in terms of user-defined constructor.
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.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119051/new/
https://reviews.llvm.org/D119051
More information about the cfe-commits
mailing list