File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,14 +116,15 @@ CRTP template:
116116include::{examplesdir}/custom_rtti.cpp[tag=policy]
117117----
118118
119- Now we can include the "core" header and write the example:
119+ Next, we include the main header. Because `BOOST_OPENMETHOD_DEFAULT_POLICY` is
120+ defined, its value is used for the default policy. Then comes the usual example.
120121
121122[source,c++]
122123----
123124include::{examplesdir}/custom_rtti.cpp[tag=example]
124125----
125126
126- This programs compiles even if standard RTTI is disabled.
127+ This programs works even if standard RTTI is disabled.
127128
128129## Deferred RTTI
129130
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ Initializes dispatch data for the methods registered in `Policy`. This function
2020must be called before any calls to those methods, and after loading or unloading
2121a dynamic library that adds classes, methods or overriders to `Policy` .
2222
23+ The return value is an object that contains a member variable, `report` , that
24+ contains the following information:
25+
26+ * `std::size_t cells` : the number of cells used by the v-tables and the multiple
27+ dispatch tables.
28+
29+ * `std::size_t not_implemented` : the number of methods that don't have an
30+ overrider for at least one combination of virtual arguments.
31+
32+ * `std::size_t ambiguous` : the number of methods that have more than one
33+ overrider, none of which is more specific than the others, for at least one
34+ combination of virtual arguments.
35+
2336## finalize
2437
2538### Synopsis
You can’t perform that action at this time.
0 commit comments