New very quick release that introduces several API breaking changes:
- the requested memory model has a new interface:
- add the old size argument to memory functions (realloc / free),
- add an optional user context argument to memory functions (new / del / realloc / free). This argument is not stored in the data structure but instead is an added first argument to all user functions if it is needed for the function and the option is requested. This is deliberate to avoid increasing the data size of the containers.
- mempool header is removed: more or less obsolete with the new user context argument, as it needed a profound and total rewrite. If you ever need it, open an issue to request a full rewrite.
- m-c-mempool header is removed: internal header, never used, and with some bugs identified but very hard to reproduce, and another big problem detected (mix pointers between new and realloc) which needs a good rewrite.
- m-concurrent / m-shared / m-i-shared headers are removed: they were duplicate of the new m-shared-ptr header.
- non thread safe queue & stack have their own header - m-queue.h - instead of using a policy for m-buffer.
- buffer policy arguments have been simplified to keep only the useful ones
- stricter
INIT_MOVE
policy: either the default C '=' operator works with the type, or a method is provided (It is no longer emulated). - update accordingly the documentation.