Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1ecfd5bb
Commit
1ecfd5bb
authored
Dec 15, 2011
by
Davis King
Browse files
Fixed a typo in the spec.
parent
331b2d75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dlib/array/array_expand_abstract.h
dlib/array/array_expand_abstract.h
+3
-3
No files found.
dlib/array/array_expand_abstract.h
View file @
1ecfd5bb
...
...
@@ -37,10 +37,10 @@ namespace dlib
ensures
- #size() == new_size
- #max_size() == max(new_size,max_size())
- for all i < size():
- for all i < size()
&& i < new_size
:
- #(*this)[i] == (*this)[i]
(i.e.
a
ll the original elements of *this
are still present
and at their same positions
.)
(i.e.
A
ll the original elements of *this
which were at index
values less than new_size are unmodified
.)
- for all valid i >= size():
- #(*this)[i] has an undefined value
(i.e. any new elements of the array have an undefined value)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment