StackOverflow Questions for Tag: allocator

lobelk
lobelk

Reputation: 502

Why does making allocator a data member change the generated assembly?

Score: -1

Views: 69

Answers: 0

Read More
Kiyya
Kiyya

Reputation: 19

What is the difference between the conversion (obj1*)(void*)p and (obj1*)p where p is a pointer to obj2 type

Score: 1

Views: 112

Answers: 0

Read More
kingluo
kingluo

Reputation: 1785

Is it possible to get memory stats of C++ default allocator?

Score: -3

Views: 99

Answers: 0

Read More
Steven
Steven

Reputation: 720

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

Score: 4

Views: 143

Answers: 2

Read More
Naaff
Naaff

Reputation: 9333

Compelling examples of custom C++ allocators?

Score: 221

Views: 140079

Answers: 19

Read More
Joseph Garvin
Joseph Garvin

Reputation: 21974

Workaround for lack of destroying_delete_t in C++?

Score: 3

Views: 159

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: 96

Answers: 1

Read More
MWB
MWB

Reputation: 12597

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

Score: 6

Views: 380

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: 35

Answers: 1

Read More
jujumbura
jujumbura

Reputation: 423

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

Score: 0

Views: 114

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: 118

Answers: 2

Read More
walnut
walnut

Reputation: 22162

User-provided std::allocator specialization

Score: 9

Views: 694

Answers: 1

Read More
qloq
qloq

Reputation: 1283

What is my allocator missing to be swappable

Score: 2

Views: 89

Answers: 1

Read More
qloq
qloq

Reputation: 1283

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: 151

Bumpalo Arena Allocator - Vector Lifetime Issue

Score: 0

Views: 38

Answers: 0

Read More
qloq
qloq

Reputation: 1283

What should template constructor of allocator do

Score: 0

Views: 70

Answers: 0

Read More
alfC
alfC

Reputation: 16300

Example uses of hint parameter in the implementation of an allocator

Score: 7

Views: 571

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: 73

Answers: 0

Read More
PreviousPage 1Next