+ 2

Where is actual allocation in pmr ?

Hi We have vector which is declared on stack but memory is on heap for its elements. In case of polymorphic resource allocator, it is on stack by pre allocation Refer code below : I dont have any monotonic memory chunk allocated earlier for pmr vector.... where data is stored actually ? https://code.sololearn.com/c32ugti5sVXJ/?ref=app

27th Jun 2022, 4:13 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 ответов
0
Container=> pollymorpic_allocator=>Memory_resource
28th Jul 2022, 9:42 AM
Yogesh Dodeja
Yogesh Dodeja - avatar
0
Not getting your point... could you please elaborate it for me ?
28th Jul 2022, 10:46 AM
Ketan Lalcheta
Ketan Lalcheta - avatar