refactor(Placeholder): more SOO consolidation and optimization

This commit is contained in:
Alex Fabijanic
2022-04-19 09:03:47 +00:00
parent 45cbee7c0e
commit a1819107de
6 changed files with 29 additions and 122 deletions

View File

@@ -71,12 +71,7 @@
// cases when value holder fits into POCO_SMALL_OBJECT_SIZE
// (see below).
//
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !!! NOTE: Any/Dynamic::Var SOO will NOT work reliably !!!
// !!! without C++11 (std::aligned_storage in particular). !!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
//#define POCO_NO_SOO
// #define POCO_NO_SOO
// Small object size in bytes. When assigned to Any or Var,