Registry / utility / foonathan-memory

foonathan-memory

JSON →
library0.7.4vcpkgunverified

STL compatible C++ memory allocator library

vcpkg install foonathan-memory
INSTALL
IMPORT
SIG · FOONATHAN-MEMORY
F
foonathan-memory
utilitycppv0.7.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

foonathan/memory/container.hpp
#include <foonathan/memory/container.hpp>

Use a memory pool allocator with a vector

#include <foonathan/memory/container.hpp> #include <iostream> int main() { foonathan::memory::memory_pool<> pool(1024); auto vec = foonathan::memory::vector<int>(pool); vec.push_back(42); std::cout << vec[0] << std::endl; return 0; }
Debug
Known issues
breakingfoonathan_memory requires C++17 or later.
fix
Set CMAKE_CXX_STANDARD to 17 or higher.
affects: *
Upgrade
Version history
0.7.4latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

foonathan-memory — pip install foonathan-memory · libregistry