devel/foonathan-memory

STL compatible C++ memory allocator
Directory:
devel/foonathan-memory (package's history)
Package version:
foonathan-memory-0.7.1
Home page:
https://github.com/memory/
License:
modified-bsd
Source archive:
-https://github.com/foonathan/memory/archive/v0.7-1.tar.gzmemory-v0.7-1.tar.gz
Description:
The C++ STL allocator model has various flaws. For example, they are fixed to a certain type, because they are almost necessarily required to be templates. So you can't easily share a single allocator for multiple types. In addition, you can only get a copy from the containers and not the original allocator object. At least with C++11 they are allowed to be stateful and so can be made object not instance based. But still, the model has many flaws. Over the course of the years many solutions have been proposed, for example EASTL. This library is another. But instead of trying to change the STL, it works with the current implementation.
Run dependencies:
libstdc++
Build dependencies:
cmake>=3.11, digest>=20080510, g++>=3, gcc>=3, pax, pkg_install>=20110805.12, tnftp>=20130505~ssl
General options:
debug
Produce debugging information for binary programs
c++-compiler alternatives:
g++
Use the GNU C++ compiler
clang++
Use the LLVM C++ compiler
ccache-g++
Use ccache and the GNU C++ compiler
ccache-clang++
Use ccache and the LLVM C++ compiler
c-compiler alternatives:
gcc
Use the GNU C compiler
clang
Use the LLVM C compiler
ccache-gcc
Use ccache and the GNU C compiler
ccache-clang
Use ccache and the LLVM C compiler