02.09.2019 12:15, Alex Peshkoff via Firebird-devel wrote:
Don't gorget - 'classic' smart pointers, containers, etc. do NOT work when object is deleted by pool.

That's why object in pool must never use non-pooled child object. Adriano must use pooled Allocator in his SimilarMatcher for std containers.

Finalizer is replacement for them working in that case.

  An ugly workaround for a bad design I would say.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to