NR.5: note that example is incomplete (closes #1643)

pull/1648/head
Sergey Zubkov 6 years ago
parent c6262ea1a8
commit 895d709546

@ -20353,6 +20353,8 @@ and errors (when we didn't deal correctly with semi-constructed objects consiste
Cleanup();
}
// ...
// bad: two-phase initialization
bool Init()
{
@ -20409,6 +20411,8 @@ and errors (when we didn't deal correctly with semi-constructed objects consiste
}
// compiler generated dtor does the job. (also see C.21)
// ...
};
Picture picture1(100, 100);

Loading…
Cancel
Save