Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/boost/openmethod/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2128,8 +2128,8 @@ class method<Id, ReturnType(Parameters...), Registry> :
//! If `Registry` contains an @ref error_handler policy, call its `error`
//! function with an object of one of the following types:
//!
//! @li @ref no_overrider: No overrider is applicable.
//! @li @ref ambiguous_call: More than one overrider is applicable, and
//! @li @ref no_overrider. No overrider is applicable.
//! @li @ref ambiguous_call. More than one overrider is applicable, and
//! none is more specialized than all the others.
//!
auto operator()(typename BOOST_OPENMETHOD_UNLESS_MRDOCS(detail::)
Expand Down
12 changes: 6 additions & 6 deletions include/boost/openmethod/default_registry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ namespace boost::openmethod {
//! `default_registry` is a predefined @ref registry, and the default value of
//! @ref BOOST_OPENMETHOD_DEFAULT_REGISTRY.
//! It contains the following policies:
//! @li @ref policies::std_rtti: Use standard RTTI.
//! @li @ref policies::fast_perfect_hash: Use a fast perfect hash function to
//! @li @ref policies::std_rtti. Use standard RTTI.
//! @li @ref policies::fast_perfect_hash. Use a fast perfect hash function to
//! map type ids to indices.
//! @li @ref policies::vptr_vector: Store v-table pointers in a @c std::vector.
//! @li @ref policies::default_error_handler: Write short diagnostic messages.
//! @li @ref policies::stderr_output: Write messages to @c stderr.
//! @li @ref policies::vptr_vector. Store v-table pointers in a @c std::vector.
//! @li @ref policies::default_error_handler. Write short diagnostic messages.
//! @li @ref policies::stderr_output. Write messages to @c stderr.
//!
//! If @ref BOOST_OPENMETHOD_ENABLE_RUNTIME_CHECKS
//! is defined, `default_registry` also includes the @ref runtime_checks policy.
Expand All @@ -38,7 +38,7 @@ namespace boost::openmethod {
//! For a program and its shared libraries to contribute to the same
//! `default_registry`, its state must be shared across the modules, with
//! @ref BOOST_OPENMETHOD_IMPORT_REGISTRY, @ref BOOST_OPENMETHOD_EXPORT_REGISTRY
//! and @ref BOOST_OPENMETHOD_INSTANTIATE_REGISTRY:
//! and @ref BOOST_OPENMETHOD_INSTANTIATE_REGISTRY, as follows:
//! @code
//! // header, every translation unit of a client module:
//! BOOST_OPENMETHOD_IMPORT_REGISTRY(boost::openmethod::default_registry);
Expand Down
2 changes: 1 addition & 1 deletion include/boost/openmethod/initialize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2211,7 +2211,7 @@ void registry<Policies...>::compiler<Options...>::print_slots() {
//!
//! @par Errors
//!
//! @li @ref missing_class: A class used in a virtual parameter was not
//! @li @ref missing_class. A class used in a virtual parameter was not
//! registered.
//! @li The registry's policies may report additional errors.
//!
Expand Down
4 changes: 2 additions & 2 deletions include/boost/openmethod/interop/boost_type_erasure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ struct virtual_traits<boost::type_erasure::any<C, const T&>, Registry> {
//! `boost::type_erasure::bad_function_call`.
//!
//! An `any` that carries this concept cannot be wrapped in a
//! @ref virtual_any: the hook returns the v-table pointer by value, and
//! an indirect registry cannot store that. Wrapping one is rejected at
//! @ref virtual_any. The hook returns the v-table pointer by value, and an
//! indirect registry cannot store that. Wrapping one is rejected at
//! compile time.
//!
//! Both give constant-time access to the v-table pointer, but not at the
Expand Down
4 changes: 2 additions & 2 deletions include/boost/openmethod/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ inline constexpr bool method_not_found = false;
//! include:../examples/rolex/2/roles.hpp#content
//!
//! The implementation file supplies the body with
//! @ref BOOST_OPENMETHOD_DEFINE_OVERRIDER:
//! @ref BOOST_OPENMETHOD_DEFINE_OVERRIDER, as follows:
//!
//! include:../examples/rolex/2/employee.cpp#content
//!
Expand Down Expand Up @@ -514,7 +514,7 @@ inline constexpr bool method_not_found = false;
//! A translation unit that includes the header adds a more specialized
//! overrider of its own. That one is defined once, so it uses
//! @ref BOOST_OPENMETHOD_OVERRIDE; it reaches the header's overrider through
//! @ref BOOST_OPENMETHOD_OVERRIDER:
//! @ref BOOST_OPENMETHOD_OVERRIDER, as follows:
//!
//! include:../examples/rolex/3/salesman.cpp#content
//!
Expand Down
2 changes: 1 addition & 1 deletion include/boost/openmethod/preamble.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ class registry : public detail::registry_base {
//!
//! @par Errors
//!
//! @li @ref not_initialized: The registry is not initialized.
//! @li @ref not_initialized. The registry is not initialized.
static void require_initialized();

template<class... Options>
Expand Down
Loading