Quantcast
Channel: pseudorandom noise
Viewing all articles
Browse latest Browse all 21

Using The C++ Placement New Operator

$
0
0
Overview Using C++11′s rvalue references, it is an interesting exercise to see how such can be used with placement new and the new alignas() functionality. This post implements a class that has the ability to conditionally store an object without allocating space for the object from the heap. To accomplish this, the object holds a […]

Viewing all articles
Browse latest Browse all 21

Trending Articles