Search code examples
C++ custom allocator as pool of objects...


c++memory-managementallocationallocator

Read More
Compelling examples of custom C++ allocators?...


c++memory-managementstdmemory-alignmentallocator

Read More
Can storage be allocated and deallocated by different allocator types?...


c++allocator

Read More
How does jemalloc work? What are the benefits?...


firefoxmemory-managementdynamic-memory-allocationallocatorjemalloc

Read More
Apple Clang: can't compile call to std::erase for vector with custom allocator...


c++macosc++11clangallocator

Read More
When to call the select_on_container_copy_construction for a container?...


c++containersallocator

Read More
C++ does it lead to double free when destroy element in allocator<string>?...


c++stdallocator

Read More
Is it allowed to call `deallocate` on a moved-from allocator (MSVC standard containers do)...


c++visual-c++containersallocator

Read More
What is the purpose and usage of `memory_resource`?...


c++c++17allocatorc++-faqc++pmr

Read More
std::list with a custom allocator crashes when removing items...


c++stlallocator

Read More
Can I safely use uintptr_t in my arena allocator?...


cmemory-alignmentallocator

Read More
C++17 std:map w/allocator gives compile error C2338 (VS 2022)...


c++c++17visual-studio-2022stdmapallocator

Read More
polymorphic_allocator: when and why should I use it?...


c++c++17allocatorc++pmr

Read More
Given that allocators are copied by value how is allocator state shared?...


c++containersc++20allocator

Read More
Is it possible to have a stack allocator that contains a buffer?...


c++memory-managementallocator

Read More
Do C and C++ differ on the legality of aligning pointers at runtime?...


c++clanguage-lawyerallocatorstrict-aliasing

Read More
Efficiently returning local object allocated with external memory resource in boost::json...


c++11memoryreferenceallocatorboost-json

Read More
Is it possible to override the default Allocator in C++ with out manualy specifying it in each const...


c++templatesallocator

Read More
What is my allocator missing to be swappable...


c++allocator

Read More
Example uses of hint parameter in the implementation of an allocator...


c++allocatorhint

Read More
Unordered_map with customized allocator compiler error...


c++stringmemoryunordered-mapallocator

Read More
What's the advantage of using std::allocator instead of new in C++?...


c++heap-memoryallocatoralloc

Read More
If I overload the global new operator to use a memory pool to allocate memory, will this overloaded ...


c++memorystlallocator

Read More
How to store (empty) allocator in my container without taking up size?...


c++allocator

Read More
C++ rebind allocator with two template parameter...


c++c++17alignmentdeprecatedallocator

Read More
Allocators For Nested Container...


c++nestedallocator

Read More
Does allocator aware container need to replace the allocator even when they are equal?...


c++containersallocator

Read More
what is the correct way to test if a type is an allocator?...


c++c++14type-traitsallocator

Read More
What will happen if I call `allocate_at_least(0)` according to C++23 standard?...


c++language-lawyerdynamic-memory-allocationallocatorc++23

Read More
Why C++ allocators use reinterpret_cast and how to avoid it?...


c++stlc++20allocatorreinterpret-cast

Read More
BackNext