From 96169c9fc62751e579471341565d00ef41096060 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 8 Dec 2021 16:15:48 +0300 Subject: [PATCH] Added a link to the page describing EBO. --- doc/operators.qbk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/operators.qbk b/doc/operators.qbk index 7e1033c..22e1e5a 100644 --- a/doc/operators.qbk +++ b/doc/operators.qbk @@ -1942,9 +1942,9 @@ above was 12-24 bytes on various compilers for the Win32 platform, instead of the expected 8 bytes. Strictly speaking, it was not the library's fault [ndash] the language rules -allow the compiler to apply the empty base class optimization in that -situation. In principle an arbitrary number of empty base classes can be -allocated at the same offset, provided that none of them have a common +allow the compiler to apply the [@https://en.cppreference.com/w/cpp/language/ebo empty base class optimization] +in that situation. In principle an arbitrary number of empty base classes can +be allocated at the same offset, provided that none of them have a common ancestor (see [sect]10 \[class.derived\] paragraph 8 of the C++11 standard). But the language definition also does not ['require] implementations