test_allocator 0.2.3
A test allocator
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Test Allocator
std.experimental.allocator
/ std.allocator
gives D the tools to allocate
memory as needed by the application without having to depend on the D's
mark-and-sweep garbage collector. But... how do you know if your code
is actually doing what you expect it to? Enter the test allocator
in this dub package. Essentially it tracks all allocations made through
it and throws in the destructor if there are any leaks.
It also verifies that the client code is trying to free memory that was actually allocated via the allocator.
It's backed by mallocator for even better tracking: that way valgrind and address sanitizer will possibly catch bugs the code in here doesn't.
- Registered by Atila Neves
- 0.2.3 released 6 years ago
- atilaneves/test_allocator
- BSD
- Copyright © 2016, Atila Neves
- Authors:
- Dependencies:
- stdx-allocator
- Versions:
-
0.3.4 2023-Jun-02 0.3.3 2021-Mar-23 0.3.2 2019-Feb-13 0.3.1 2019-Feb-13 0.3.0 2019-Feb-13 - Download Stats:
-
-
49 downloads today
-
510 downloads this week
-
2171 downloads this month
-
301562 downloads total
-
- Score:
- 3.4
- Short URL:
- test_allocator.dub.pm