mirror of https://github.com/CGAL/cgal
Fix in the Range concept: size() returns a size_type and not a
difference_type. It has also been fixed in recent Boost versions.
This commit is contained in:
parent
b54d59676d
commit
09dead06bc
|
|
@ -13,6 +13,8 @@ Boost's Range concept
|
|||
\ccTypes
|
||||
|
||||
\ccNestedType{const_iterator} {The constant iterator type.}
|
||||
\ccNestedType{size_type} {An unsigned integral type that can represent the
|
||||
size of a range.}
|
||||
|
||||
\ccHeading{Member functions}
|
||||
|
||||
|
|
@ -22,7 +24,7 @@ Boost's Range concept
|
|||
\ccGlue
|
||||
\ccMethod{const_iterator end() const;}{returns the past-the-end const iterator.}
|
||||
|
||||
\ccMethod{difference_type size() const;}{returns the size of the range.}
|
||||
\ccMethod{size_type size() const;}{returns the size of the range.}
|
||||
\ccGlue
|
||||
\ccMethod{bool empty() const;}{returns whether the range is empty.}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue