Basic fixes

This commit is contained in:
Efi Fogel 2024-11-12 15:30:50 +02:00
parent 661b7185f1
commit f9213fafdd
5 changed files with 12 additions and 13 deletions

View File

@ -5665,18 +5665,17 @@ the latter is used to trace these invocations. Note that the
constructors of each of these class templates applies perfect constructors of each of these class templates applies perfect
forwarding. The counting traits also exports the count of traits-class forwarding. The counting traits also exports the count of traits-class
objects of specific types constructed during the execution of the objects of specific types constructed during the execution of the
program. The tracing traits supports filtering of traced program. The tracing traits supports filtering of traced functors. The
functors. The calls `traits.enable_trace(id)` and calls `traits.enable_trace(id)` and `traits.disable_trace(id)` enables
`traits.disable_trace(id)` enables and disables the tracing of a and disables the tracing of a functor identified by `id`,
functor identified by `id`, respectively. A functor is identified by respectively. A functor is identified by an enumeration. For example,
an enumeration. For example, the functor \link the functor \link ArrangementTraits_2::Make_x_monotone_2
ArrangementTraits_2::Make_x_monotone_2 `Make_x_monotone_2`\endlink is `Make_x_monotone_2`\endlink is identified by the enumeration
identified by the enumeration
`Arr_tracing_traits_2::MAKE_X_MONOTONE_OP`. The calls `Arr_tracing_traits_2::MAKE_X_MONOTONE_OP`. The calls
`traits.enable_all_traces()` and `traits.disable_all_traces()` enables `traits.enable_all_traces()` and `traits.disable_all_traces()` enables
and disables the traces of all functors, respectively. The example and disables the traces of all functors, respectively. The example
program listed below and coded in the file `count_and_trace.cpp` program listed below demonstrates the use of both of these metadata
demonstrates the use of both of these metadata decorators. decorators.
\cgalExample{Arrangement_on_surface_2/count_and_trace.cpp} \cgalExample{Arrangement_on_surface_2/count_and_trace.cpp}

View File

@ -82,7 +82,7 @@ public:
template <typename OutStream> template <typename OutStream>
OutStream& print(OutStream& os, Operation_id id) const; OutStream& print(OutStream& os, Operation_id id) const;
/// \name Types and functors inherited from the base /// \name Types and functors inherited from `BaseTraits`
/// @{ /// @{
using Has_left_category = typename Base::Has_left_category; using Has_left_category = typename Base::Has_left_category;

View File

@ -84,7 +84,7 @@ public:
*/ */
void disable_all_traces(); void disable_all_traces();
/// \name Types and functors inherited from the base /// \name Types and functors inherited from `BaseTraits`
/// @{ /// @{
using Has_left_category = typename Base::Has_left_category; using Has_left_category = typename Base::Has_left_category;

View File

@ -107,7 +107,7 @@ public:
return os; return os;
} }
/// \name Types and functors inherited from the base /// \name Types and functors inherited from `BaseTraits`
//@{ //@{
// Traits types: // Traits types:

View File

@ -191,7 +191,7 @@ public:
*/ */
void disable_all_traces() { m_flags = 0x0; } void disable_all_traces() { m_flags = 0x0; }
/// \name Types and functors inherited from the base. /// \name Types and functors inherited from `BaseTraits`
//@{ //@{
// Traits types: // Traits types: