diff --git a/Kernel_d/doc/Kernel_d/CGAL/intersections_d.h b/Kernel_d/doc/Kernel_d/CGAL/intersections_d.h index 8ce886a0f29..070d9d82b53 100644 --- a/Kernel_d/doc/Kernel_d/CGAL/intersections_d.h +++ b/Kernel_d/doc/Kernel_d/CGAL/intersections_d.h @@ -26,7 +26,7 @@ bool do_intersect(Type1 obj1, Type2 obj2); /*! \ingroup PkgKernelDFunctions -returns the intersection between \f$ f1\f$ and \f$ f2\f$. +returns the intersection between `f1` and `f2`. \pre The objects are of the same dimension. @@ -164,7 +164,7 @@ void foo(Segment_d seg, Line_d lin) \sa `cpp11::result_of` */ -Object intersection(Type1 f1, Type2 f2); +cpp11::result_of, Type2)>::type intersection(Type1 f1, Type2 f2); } /* namespace CGAL */ diff --git a/Kernel_d/doc/Kernel_d/Kernel_d.txt b/Kernel_d/doc/Kernel_d/Kernel_d.txt index 87b634ee41c..2a88642ec94 100644 --- a/Kernel_d/doc/Kernel_d/Kernel_d.txt +++ b/Kernel_d/doc/Kernel_d/Kernel_d.txt @@ -439,7 +439,7 @@ returns a `boost::optional< boost::variant< T... > >` where `T...` is a list of all possible resulting geometric objects. The exact result type of an intersection can be determined by using -`cpp11::result_of::type` +`cpp11::result_of::%type` `where `Type1` and `Type2` are the types of the objects used in the intersection query. See `cpp11::result_of`