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

This commit is contained in:
Sergey Zubkov 2020-07-09 14:24:22 -04:00
parent c6262ea1a8
commit 895d709546

View File

@ -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);