mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
d28129cbc4
Instead, replace it with std::max_align_t in the Any implementation, as really we would like to be able to store any object with any alignment in the small object optimization case. Typically the size and alignment of std::max_align_t is 8 or 16 on most platforms. Added a static assert to ensure that this change doesn't result in wasting more unused memory in case the size of the storage buffer is smaller than this maximum alignment (which is right now 64, so shall be ok on all platforms). |
||
---|---|---|
.. | ||
cmake | ||
include/Poco | ||
samples | ||
src | ||
testsuite | ||
wcelibcex-1.0 | ||
CMakeLists.txt | ||
extradirs | ||
Foundation_vs140.sln | ||
Foundation_vs140.vcxproj | ||
Foundation_vs140.vcxproj.filters | ||
Foundation_vs150.sln | ||
Foundation_vs150.vcxproj | ||
Foundation_vs150.vcxproj.filters | ||
Foundation_vs160.sln | ||
Foundation_vs160.vcxproj | ||
Foundation_vs160.vcxproj.filters | ||
Foundation_vs170.sln | ||
Foundation_vs170.vcxproj | ||
Foundation_vs170.vcxproj.filters | ||
Makefile |