5 Commits

Author SHA1 Message Date
Tim Blechmann
8b25ed24db tests: use modern boost.test macros 2023-11-03 14:59:50 +08:00
Tim Blechmann
3ccac29ae3 import pre-commit and clang-format 2023-11-03 14:59:50 +08:00
msuvajac
af906f5745 stack, spsc_queue: don't create temporaries when deleting elements
When destructors/reset() are called temporary object was being created.
That creates issues when element doesn't have default initialization
(e.g. Boost.Interprocess containers).
2021-09-17 10:14:38 +02:00
Tim Blechmann
2ed9300ad5 tests: c++03 compatibility 2021-04-18 12:10:53 +08:00
Tim Blechmann
f568ba9319 spsc_queue: fix destruction of elements
the compile-time sized implementation did not properly destroy the
elements.

fixes #66
2021-03-25 15:04:35 +08:00