From cccaeaebdb7122ded223050c63ddac9ad1cbdec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 15 Jan 2020 17:44:01 +0100 Subject: [PATCH] fix iterator type required --- Convex_hull_2/doc/Convex_hull_2/CGAL/ch_jarvis.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Convex_hull_2/doc/Convex_hull_2/CGAL/ch_jarvis.h b/Convex_hull_2/doc/Convex_hull_2/CGAL/ch_jarvis.h index 5268a5498a7..d9af9b3f99d 100644 --- a/Convex_hull_2/doc/Convex_hull_2/CGAL/ch_jarvis.h +++ b/Convex_hull_2/doc/Convex_hull_2/CGAL/ch_jarvis.h @@ -12,12 +12,12 @@ cyclic sequence of extreme points is cut into a linear sequence. \pre The source range [`first`,`beyond`) does not contain `result`. The default traits class `Default_traits` is the kernel in which the -value type of `InputIterator` is defined. +value type of `ForwardIterator` is defined. \cgalHeading{Requirements}
    -
  1. The value type of `InputIterator` and +
  2. The value type of `ForwardIterator` and `OutputIterator` is equivalent to `Traits::Point_2`.
  3. `Traits` defines the following subset of types from the concept `ConvexHullTraits_2` and their corresponding member @@ -46,10 +46,10 @@ in the worst case for \f$ n\f$ input points with \f$ h\f$ extreme points. */ -template +template OutputIterator -ch_jarvis( InputIterator first, -InputIterator beyond, +ch_jarvis( ForwardIterator first, +ForwardIterator beyond, OutputIterator result, const Traits & ch_traits = Default_traits);