Search code examples
What uses are there for "placement new"?...

c++memory-managementnew-operatorplacement-new

Read More
Does "providing storage" mean being the "object representation"?...

c++language-lawyerplacement-newtype-punning

Read More
Which sort of UB do I have here, deleting array of operator new[]?...

c++arrayslanguage-lawyerplacement-new

Read More
Is this an abuse of placement new?...

c++placement-new

Read More
Should I take the address of an array when using placement new?...

c++arraysplacement-new

Read More
How to initialize a union containing const data members in C++11...

c++c++11language-lawyerunionplacement-new

Read More
Can someone explain the rules of object lifetimes and uninitialized memory in C++ (context: std::inp...

c++initializationlifetimec++23placement-new

Read More
does storage provider have to be of type char,unsigned char or std::byte? or can it be any Type?...

c++language-lawyerplacement-new

Read More
Why is 'Placement New' for classes with virtual Members only working when buffer is on local...

c++virtual-functionsavr-gccplacement-new

Read More
Is padding important when calling to placement new?...

c++paddingplacement-new

Read More
Can I use placement new with class array?...

c++reinterpret-castplacement-new

Read More
Does using std::array as storage invoke UB?...

c++language-lawyerc++20lifetimeplacement-new

Read More
What is an in-place constructor in C++?...

c++constructorplacement-newin-place

Read More
Can i use placement new as a bit_cast?...

c++c++20placement-newbit-cast

Read More
C++, is it possible to call a constructor directly, without new?...

c++constructorplacement-new

Read More
How can I access a second disparate object in the same over-sized allocated given only a pointer to ...

c++language-lawyerc++20placement-new

Read More
How to check out-of-range when using placement new operator?...

c++c++17valgrindplacement-new

Read More
Does placement-new of array of bytes (which implictly creates objects) end the lifetime of the objec...

c++language-lawyerlifetimeplacement-newc++23

Read More
"Transparent replacement" of baseclass subobject when complete object is replaced?...

c++language-lawyerplacement-new

Read More
type-punning: omitting placement new and destructors...

c++placement-newtype-punning

Read More
Can I call delete on the pointer which is allocated with the placement new?...

c++memory-managementnew-operatorplacement-new

Read More
What is the need for MaxAlign trick when creating static singleton?...

c++singletonplacement-newc++-loki

Read More
What is the underlying implementation of placement new?...

c++gccplacement-new

Read More
Malloc and constructors...

c++constructormalloclifetimeplacement-new

Read More
Constructing an object over itself...

c++undefined-behaviorplacement-new

Read More
list class is crashing in the destructor, why?...

c++placement-newstdmove

Read More
Why is there a memory leak in this program and how can I solve it, given the constraints (using mall...

c++memory-leaksvalgrinddynamic-memory-allocationplacement-new

Read More
Is std::vector<std::aligned_storage> ill-formed?...

c++memory-managementc++17type-traitsplacement-new

Read More
Explicit creation of objects with a trivial default constructor using placement-new in C++17...

c++c++17mallocplacement-new

Read More
C++ Declare Aligned Storage for Placement-New...

c++c++17memory-alignmentplacement-new

Read More
BackNext