Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
9a9c6d68
Commit
9a9c6d68
authored
Jul 31, 2014
by
Philipp A. Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GenericValue: improve Erase documentation
parent
6ed99341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
document.h
include/rapidjson/document.h
+5
-5
No files found.
include/rapidjson/document.h
View file @
9a9c6d68
...
...
@@ -1008,7 +1008,7 @@ int z = a[0u].GetInt(); // This works too.
//! Remove an element of array by iterator.
/*!
\param pos iterator to the element to remove
\pre IsArray() == true
\pre IsArray() == true
&& \ref Begin() <= \c pos < \ref End()
\return Iterator following the removed element. If the iterator pos refers to the last element, the End() iterator is returned.
*/
ValueIterator
Erase
(
ValueIterator
pos
)
{
...
...
@@ -1017,10 +1017,10 @@ int z = a[0u].GetInt(); // This works too.
//! Remove elements in the range [first, last) of the array.
/*!
\param
pos iterator to the
element to remove
\param
first,last range of elements
to remove
\pre IsArray() == true
\return Iterator following the last removed element.
If the iterator pos refers to the last element, the End() iterator is returned.
\param
first iterator to the first
element to remove
\param
last iterator following the last element
to remove
\pre IsArray() == true
&& \ref Begin() <= \c first <= \c last <= \ref End()
\return Iterator following the last removed element.
*/
ValueIterator
Erase
(
ValueIterator
first
,
ValueIterator
last
)
{
RAPIDJSON_ASSERT
(
IsArray
());
...
...
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