On Tuesday, 22 September 2015 at 19:52:48 UTC, Ola Fosheim Grøstad wrote:
On Tuesday, 22 September 2015 at 19:38:35 UTC, Ali Çehreli wrote:
C++'s approach is better from the point of view of corretness. However, it is slower because the object's vtbl pointer must be stamped several times during construction. (I am not aware of available compiler optimizations there.)

No dispatch needed if calls it's own functions, so no vtable needed for the constructor. But neither approach is good for correctness.

(OP: The guidelines have 30 committers or something, I somehow doubt Stroustrup wrote all that...)

we can always do a git blame :-D

Reply via email to