Search code examples
std::construct_at vs placement new; additional move/copy constructor call...


c++placement-new

Read More
Does placement new to the location of an array's object reuse storage and ends the array lifetim...


c++arrayslanguage-lawyerplacement-new

Read More
Why is it UB to pass a char array as the argument of placement new?...


c++c++20standardslifetimeplacement-new

Read More
Malloc and constructors...


c++constructormalloclifetimeplacement-new

Read More
Can constructor's member initializer include initialization of another member?...


c++language-lawyerc++20placement-newmember-initialization

Read More
placement new and storage reuse...


c++memory-managementlanguage-lawyerlifetimeplacement-new

Read More
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
Constructing an object over itself...


c++undefined-behaviorplacement-new

Read More
BackNext