From baff0d3f23866b6d71395620fc1eebd570ec931d Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 12 Jul 2025 10:19:35 -0400 Subject: [PATCH] with_vptr -> inplace_vptr --- doc/dynamic_loading.adoc | 2 +- doc/html/index.html | 48 +++++++------- doc/{with_vptr.adoc => inplace_vptr.adoc} | 26 ++++---- doc/overview.adoc | 2 +- doc/reference.adoc | 2 +- doc/virtual_ptr_alt.adoc | 8 +-- doc/vptr.adoc | 2 +- example/virtual_.cpp | 18 +++--- include/boost/openmethod/core.hpp | 4 +- .../{with_vptr.hpp => inplace_vptr.hpp} | 62 ++++++++++--------- ..._fail_virtual_ptr_different_registries.cpp | 3 +- test/test_core.cpp | 15 ++--- test/test_intrusive.cpp | 14 ++--- test/test_static_list.cpp | 1 - 14 files changed, 106 insertions(+), 101 deletions(-) rename doc/{with_vptr.adoc => inplace_vptr.adoc} (76%) rename include/boost/openmethod/{with_vptr.hpp => inplace_vptr.hpp} (72%) diff --git a/doc/dynamic_loading.adoc b/doc/dynamic_loading.adoc index 47c843d..bb4a518 100644 --- a/doc/dynamic_loading.adoc +++ b/doc/dynamic_loading.adoc @@ -8,7 +8,7 @@ called to rebuild the dispatch tables. This leads to a problem: any `virtual_ptr` in existence before `initialize` is called again becomes invalid. This also applies to vptrs that are stored inside -objects by `with_vptr`. +objects by `inplace_vptr`. NOTE: This applies only to cases where a dynamic library adds to an _existing_ policy. Even if the dynamic library itself uses open-methods, for example as an diff --git a/doc/html/index.html b/doc/html/index.html index c32b576..d463a59 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -610,7 +610,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • Description
  • -
  • with_vptr +
  • inplace_vptr