Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in placement-new

False warning for placement new?

c++ alignment placement-new

How to implement a simple container with placement new and emplace functionality?

Variation on the type punning theme: in-place trivial construction

Is move assignment via destruct+move construct safe?

Placement forms of the operator delete functions

c++ placement-new

Is `new (this) MyClass();` undefined behaviour after directly calling the destructor?

Using placement new in generic programming

Is new (this) ThisClass() a bad idea?

c++ placement-new

Placement new breaks consts and references?

What is the <- symbol in Rust?

Can placement new (expression) throw if the constructor of the object is noexcept?

char array as storage for placement new

c++ pointers placement-new

Is this hack to remove aliasing warning UB?

Is it okay to give a stack object address to placement new?

Why there is no std::uninitialized_move_if_noexcept?

Why isn't it undefined behaviour to destroy an object that was overwritten by placement new?

Is it legal to use placement new on initialised memory?

treating memory returned by operator new(sizeof(T) * N) as an array

Does casting a pointer to "void*" have any effect when placement new is called?

Placement new and assignment of class with const member