sizeof(std::any) - sizeof(void*) is correct for both libc++ and the MSVC standard library.
Details
Details
- Reviewers
mclow.lists EricWF ldionne - Commits
- rGffc83995de6d: [libc++][test] Change IsSmallObject's calculation for std::any's small object…
rCXX374407: [libc++][test] Change IsSmallObject's calculation for std::any's small object…
rL374407: [libc++][test] Change IsSmallObject's calculation for std::any's small object…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
I have no idea why this line is highlighted: there are no changes on this line in the diff I submitted, the line endings are plain LF, ... :shrug: