CppCast cover image

Contracts

CppCast

00:00

How to Enable NRVO in NCSOS 17 2023

You can do this trick that actually Raymond Chen discussed in one of his blog posts. Basically you can declare a move constructor so that it compiles but then you don't define it and then you run it on the compiler not actually using it because it does like NRVO. The trap is there already. All right, do you have like any paper and flight to fix it or any ideas? Yes, so the getting allocators support sort of built into objects the whole scoped property model that we Alistair Meredith is working on which sadly did not make progress last week in Varna due to illness. This is a not coming soon but coming eventually we hope.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app