+ 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
2 Réponses
0
Container=> pollymorpic_allocator=>Memory_resource
0
Not getting your point... could you please elaborate it for me ?