StackOverflow Questions for Tag: allocator

Steven
Steven

Reputation: 700

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

Score: 4

Views: 138

Answers: 2

Read More
Naaff
Naaff

Reputation: 9333

Compelling examples of custom C++ allocators?

Score: 221

Views: 139368

Answers: 19

Read More
Joseph Garvin
Joseph Garvin

Reputation: 21914

Workaround for lack of destroying_delete_t in C++?

Score: 3

Views: 157

Answers: 0

Read More
user28895669
user28895669

Reputation: 11

C++: specialization of custom Allocator for use with std::allocate_shared

Score: 1

Views: 55

Answers: 0

Read More
Smith
Smith

Reputation: 461

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

Score: 2

Views: 95

Answers: 1

Read More
MWB
MWB

Reputation: 12567

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

Score: 6

Views: 378

Answers: 2

Read More
Mister Ammaiu
Mister Ammaiu

Reputation: 13

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

Score: 1

Views: 31

Answers: 1

Read More
jujumbura
jujumbura

Reputation: 423

Why would a class take an std::allocator as an argument?

Score: 0

Views: 111

Answers: 1

Read More
TaylorE
TaylorE

Reputation: 181

Is it possible to override the default Allocator in C++ with out manualy specifying it in each constructor

Score: 1

Views: 115

Answers: 2

Read More
walnut
walnut

Reputation: 22152

User-provided std::allocator specialization

Score: 9

Views: 688

Answers: 1

Read More
qloq
qloq

Reputation: 1275

What is my allocator missing to be swappable

Score: 2

Views: 87

Answers: 1

Read More
qloq
qloq

Reputation: 1275

Is it possible to make custom allocator to be acceptable by container constructor without specifying it in template arguments

Score: -1

Views: 103

Answers: 2

Read More
Brogolem35
Brogolem35

Reputation: 141

Bumpalo Arena Allocator - Vector Lifetime Issue

Score: 0

Views: 38

Answers: 0

Read More
qloq
qloq

Reputation: 1275

What should template constructor of allocator do

Score: 0

Views: 69

Answers: 0

Read More
alfC
alfC

Reputation: 16232

Example uses of hint parameter in the implementation of an allocator

Score: 7

Views: 558

Answers: 1

Read More
Srinivasulu
Srinivasulu

Reputation: 1

Handle submenu items from a drodown

Score: -1

Views: 51

Answers: 1

Read More
sir peng
sir peng

Reputation: 11

Why was the implement of __pool_alloc_base in gcc/libstdc++-v3/src/c++98/pool_allocator.cc?

Score: 1

Views: 72

Answers: 0

Read More
user2961927
user2961927

Reputation: 1718

Unordered_map with customized allocator compiler error

Score: 1

Views: 100

Answers: 1

Read More
Caglayan Dokme
Caglayan Dokme

Reputation: 1138

When to call the select_on_container_copy_construction for a container?

Score: 3

Views: 252

Answers: 1

Read More
Mugurel
Mugurel

Reputation: 1867

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

Score: 96

Views: 35573

Answers: 8

Read More
PreviousPage 1Next