Quantcast
Channel: Bartek's coding blog
Viewing all articles
Browse latest Browse all 325

New new() - The C++17's Alignment Parameter for Operator new()

$
0
0

Alignment parameter for C++17 new()

Last week’s article about smaller C++17 features mentioned updated operator new() that handles non-standard alignment of objects. How does it work? Can you use it to ask for arbitrary alignments? Let’s try some code and have a closer look.

Read more...

Viewing all articles
Browse latest Browse all 325

Trending Articles