23.12.2015 16:45, Dmitry Yemanov wrote: > No, unless the object is inherited from pool_alloc() or you allocate > using MemoryPool::calloc().
Then one thing worries me: quoting http://en.cppreference.com/w/c/language/object#Object_representation "If two objects have the same object representation, they compare equal (except if they are floating-point NaNs). The opposite is not true". But Hash.h:DefaultHash uses object representation for hash computation. Can't it fail if some hashed object has alignment bytes filled with a garbage? -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel