From 051550e6dd48f162d22a912c3cf595a17ef6c0ed Mon Sep 17 00:00:00 2001 From: CromwellEnage <32967088+CromwellEnage@users.noreply.github.com> Date: Wed, 19 Sep 2018 12:42:39 -0400 Subject: [PATCH 1/2] Documentation Cleanup A few documentation links currently point to pages that HP retired along with the rest of the SGI STL website. These links now point either to Robert Ramey's mirror site or to the more up-to-date cppreference.com. --- doc/iterator_categories.html | 4 ++-- doc/reference.html | 31 ++++++++++++++++++++----------- doc/user.html | 2 +- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/doc/iterator_categories.html b/doc/iterator_categories.html index f8d74514..0cca5801 100644 --- a/doc/iterator_categories.html +++ b/doc/iterator_categories.html @@ -652,7 +652,7 @@
a == b | bool | This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable for this
+type must model EqualityComparable for this
expression to be valid. |
a < b | bool | This performs a lexicographical comparison of the
values of a and b. The element
-type must model LessThanComparable for this
+type must model LessThanComparable for this
expression to be valid. |
a <= b | bool | This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable and
-LessThanComparable for this
+type must model EqualityComparable and
+LessThanComparable for this
expression to be valid. |
a > b | bool | This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable and
-LessThanComparable for this
+type must model EqualityComparable and
+LessThanComparable for this
expression to be valid. |
a >= b | bool | This performs a lexicographical comparison of the
values of a and b. The element
-type must model LessThanComparable for this
+type must model LessThanComparable for this
expression to be valid. |
begin() and end() execute in amortized
constant time.
size() executes in at most linear time in the
@@ -589,7 +589,7 @@
Model Of. MultiArray, CopyConstructible. Depending on the element type, -it may also model EqualityComparable and LessThanComparable. +it may also model EqualityComparable and LessThanComparable.
Synopsis.
namespace boost {
@@ -818,7 +818,7 @@
MultiArray,
CopyConstructible.
and depending on the element type, it may also model
-EqualityComparable and LessThanComparable.
+EqualityComparable and LessThanComparable.
Detailed descriptions are provided here only for operations that are
not described in the multi_array reference.
Synopsis.
@@ -978,7 +978,7 @@
MultiArray,
CopyConstructible.
and depending on the element type, it may also model
-EqualityComparable and LessThanComparable.
+EqualityComparable and LessThanComparable.
Detailed descriptions are provided here only for operations that are
not described in the multi_array reference.
@@ -1139,7 +1139,16 @@
index start();
index finish();
size_type size();
-};
Model Of. DefaultConstructible,CopyConstructible
Methods and Types.
extent_range(index start, index finish) This constructor defines the half open interval
+};
+
Model Of.
+
+Methods and Types.
extent_range(index start, index finish) This constructor defines the half open interval
[start,finish). The expression
finish must be greater than start.
extent_range(index finish)This constructor defines the half open interval
diff --git a/doc/user.html b/doc/user.html
index 57d73a30..47e19e73 100644
--- a/doc/user.html
+++ b/doc/user.html
@@ -612,7 +612,7 @@
Test Cases
Related Work
boost::array
- and std::vector are
+ and std::vector are
one-dimensional containers of user data. Both manage their own
memory. std::valarray is a low-level
C++ Standard Library component
From 42ee89b05dd77bb2277abcf30c71d6bf45f1411f Mon Sep 17 00:00:00 2001
From: CromwellEnage <32967088+CromwellEnage@users.noreply.github.com>
Date: Wed, 19 Sep 2018 12:53:30 -0400
Subject: [PATCH 2/2] Documentation Cleanup
STL links now point to the Boost mirror vice Robert Ramey's mirror.
---
doc/iterator_categories.html | 4 ++--
doc/reference.html | 22 +++++++++++-----------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/doc/iterator_categories.html b/doc/iterator_categories.html
index 0cca5801..7d78239d 100644
--- a/doc/iterator_categories.html
+++ b/doc/iterator_categories.html
@@ -652,7 +652,7 @@ Forward Traversal Iterator
permissible to make multiple passes through the iterator's range.
Refinement of
Copy
Constructible, Assignable, Default
-Constructible, and Equality
+Constructible, and Equality
Comparable
Associated types
@@ -725,7 +725,7 @@ Random Access Traversal
Iterator
An iterator that provides constant-time methods for moving forward
and backward in arbitrary-sized steps.
Refinement of
Bidirectional
-Traversal Iterator and Less Than
+Traversal Iterator and Less Than
Comparable where < is a total ordering
Associated types
diff --git a/doc/reference.html b/doc/reference.html
index 39d338c0..ad3c3d6c 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -353,21 +353,21 @@
used to construct indices.
a == bbool This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable for this
+type must model EqualityComparable for this
expression to be valid. a < bbool This performs a lexicographical comparison of the
values of a and b. The element
-type must model LessThanComparable for this
+type must model LessThanComparable for this
expression to be valid. a <= bbool This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable and
-LessThanComparable for this
+type must model EqualityComparable and
+LessThanComparable for this
expression to be valid. a > bbool This performs a lexicographical comparison of the
values of a and b. The element
-type must model EqualityComparable and
-LessThanComparable for this
+type must model EqualityComparable and
+LessThanComparable for this
expression to be valid. a >= bbool This performs a lexicographical comparison of the
values of a and b. The element
-type must model LessThanComparable for this
+type must model LessThanComparable for this
expression to be valid.
begin() and end() execute in amortized
constant time.
size() executes in at most linear time in the
@@ -589,7 +589,7 @@
Model Of.
MultiArray,
CopyConstructible. Depending on the element type,
-it may also model EqualityComparable and LessThanComparable.
+it may also model EqualityComparable and LessThanComparable.
Synopsis.
namespace boost {
@@ -818,7 +818,7 @@
MultiArray,
CopyConstructible.
and depending on the element type, it may also model
-EqualityComparable and LessThanComparable.
+EqualityComparable and LessThanComparable.
Detailed descriptions are provided here only for operations that are
not described in the multi_array reference.
Synopsis.
@@ -978,7 +978,7 @@
MultiArray,
CopyConstructible.
and depending on the element type, it may also model
-EqualityComparable and LessThanComparable.
+EqualityComparable and LessThanComparable.
Detailed descriptions are provided here only for operations that are
not described in the multi_array reference.
@@ -1143,7 +1143,7 @@
Model Of.