foonathan-memory/0.7.3

STL compatible C++ memory allocator library
Recipe info
2023-05-10

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
foonathan-memory/0.7.3

Using foonathan-memory

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
foonathan-memory/0.7.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("foonathan-memory/0.7.3")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): foonathan_memory
  • CMake target name(s): foonathan_memory
  • pkg-config file name(s): foonathan-memory.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(foonathan_memory REQUIRED)
# ...
target_link_libraries(YOUR_TARGET foonathan_memory)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the foonathan-memory homepage listed above:

#include "foonathan/memory/aligned_allocator.hpp"
#include "foonathan/memory/allocator_storage.hpp"
#include "foonathan/memory/allocator_traits.hpp"
#include "foonathan/memory/config.hpp"
#include "foonathan/memory/config_impl.hpp"
#include "foonathan/memory/container.hpp"
#include "foonathan/memory/container_node_sizes_impl.hpp"
#include "foonathan/memory/debugging.hpp"
#include "foonathan/memory/default_allocator.hpp"
#include "foonathan/memory/deleter.hpp"
#include "foonathan/memory/detail/align.hpp"
#include "foonathan/memory/detail/assert.hpp"
#include "foonathan/memory/detail/container_node_sizes.hpp"
#include "foonathan/memory/detail/container_node_sizes_impl.hpp"
#include "foonathan/memory/detail/debug_helpers.hpp"
#include "foonathan/memory/detail/ebo_storage.hpp"
#include "foonathan/memory/detail/free_list.hpp"
#include "foonathan/memory/detail/free_list_array.hpp"
#include "foonathan/memory/detail/ilog2.hpp"
#include "foonathan/memory/detail/lowlevel_allocator.hpp"
#include "foonathan/memory/detail/memory_stack.hpp"
#include "foonathan/memory/detail/small_free_list.hpp"
#include "foonathan/memory/detail/utility.hpp"
#include "foonathan/memory/error.hpp"
#include "foonathan/memory/fallback_allocator.hpp"
#include "foonathan/memory/heap_allocator.hpp"
#include "foonathan/memory/iteration_allocator.hpp"
#include "foonathan/memory/joint_allocator.hpp"
#include "foonathan/memory/malloc_allocator.hpp"
#include "foonathan/memory/memory_arena.hpp"
#include "foonathan/memory/memory_pool.hpp"
#include "foonathan/memory/memory_pool_collection.hpp"
#include "foonathan/memory/memory_pool_type.hpp"
#include "foonathan/memory/memory_resource_adapter.hpp"
#include "foonathan/memory/memory_stack.hpp"
#include "foonathan/memory/namespace_alias.hpp"
#include "foonathan/memory/new_allocator.hpp"
#include "foonathan/memory/segregator.hpp"
#include "foonathan/memory/smart_ptr.hpp"
#include "foonathan/memory/static_allocator.hpp"
#include "foonathan/memory/std_allocator.hpp"
#include "foonathan/memory/temporary_allocator.hpp"
#include "foonathan/memory/threading.hpp"
#include "foonathan/memory/tracking.hpp"
#include "foonathan/memory/virtual_memory.hpp"