Commit Graph

27 Commits

Author SHA1 Message Date
78f746c21e pool: use std::size_t in preference to unsigned for capacity 2018-12-17 13:01:54 +11:00
b60aaccf6f build; fix compilation errors under win32
win32 builds are still totally unsupported, untested, and functionally
broken.
2018-08-13 14:52:40 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
6ee256992d pool: add index based destroy function 2018-07-04 14:05:51 +10:00
f1c70beee1 pool: add pointer to index query 2018-07-04 14:05:51 +10:00
3370c6764e pool: add accessor for base address 2018-07-04 14:05:51 +10:00
935a3b950f pool: ensure move constructor is noexcept 2018-07-04 14:05:51 +10:00
b79cc887a0 pool: prefer byte over char for raw data 2018-07-04 14:05:51 +10:00
0f5f660fa3 pool: align nodes to pointer boundaries 2018-07-04 14:05:51 +10:00
88d514aa9c pool: launder the allocated pointers 2018-03-22 13:10:18 +11:00
7ce2f5454d pool: correctly forward constructor parameters 2018-03-15 15:25:18 +11:00
0e3fa05f05 build: migrate from ipp files to pure hpp files
ipp files weren't a great way of keeping things clean, and IDEs have a
little trouble dealing with the split configuration. this simplifies
debugging a great deal.
2018-02-28 11:49:13 +11:00
ee53f8234b pool: avoid alignment warnings on ARM 2017-01-05 19:50:28 +11:00
1cdc6b4bad use more explicit constructors 2016-03-17 18:14:40 +11:00
ab330cc520 add ref-qualifiers to avoid dangling refs/ptrs 2016-03-17 18:05:28 +11:00
d81b9f12fd pool: rename remain as size for consistency 2016-02-04 12:41:23 +11:00
bf5b0916e8 pool: capacity queries, comments 2016-01-19 18:29:13 +11:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
36a80c33a9 pool: use size_t for allocated sizes 2014-12-31 19:07:25 +11:00
b8ef0afc1d Move pool implementation to ipp file 2012-11-09 15:17:32 +11:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
641a15f0ec Use the util namespace for more classes 2011-10-07 21:58:16 +11:00
24e764c648 Correct the pool comment copyright year 2011-07-12 20:55:15 +10:00
e748520bdb Run the item destructor when releasing a pool item 2011-07-01 18:41:50 +10:00
b4d6500f5f Add simple pool allocator implementation 2011-07-01 13:47:08 +10:00