Robin Gareus
50556db405
Add a STL Allocator using the stack (for rt safety)
...
This is a dumb stack allocator using LIFO allocation/free, with
a fallback to new/delete. This works well for small STL containers
in particular std::vector, but it's also suitable for std::map<>,
in particular copy constructing small POD maps (plugin pin mappings).
Eventually this could be combined with TLSF for a flexible
memory arena management. This is however not currently needed
for any the planned use-cases.
This code is ANSI C++98 compatible, and yet also works with
modern C++11, C++14
2020-03-06 19:13:44 +01:00
..
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2020-02-20 12:25:51 -06:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-09-30 04:45:59 +02:00
2019-08-03 15:53:17 +02:00
2019-12-07 10:30:38 -07:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-09-30 06:30:11 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2015-10-05 16:17:49 +02:00
2020-02-28 06:06:44 +01:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-12-31 10:11:18 +00:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2020-02-20 00:09:32 -07:00
2019-08-03 15:53:17 +02:00
2019-12-09 23:25:59 +01:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-09-30 04:45:59 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2016-12-15 16:36:50 +00:00
2019-09-26 02:48:17 +02:00
2020-03-06 19:13:44 +01:00
2019-08-03 15:53:17 +02:00
2020-02-28 06:08:26 +01:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-11-09 06:28:55 +01:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2020-02-25 20:09:47 +01:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00
2019-08-03 15:53:17 +02:00