Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
3db14cbf
Commit
3db14cbf
authored
Jun 24, 2019
by
Isaac Nickaein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
Improve doc on const_inter constructor
parent
0a137b78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
include/nlohmann/detail/iterators/iter_impl.hpp
include/nlohmann/detail/iterators/iter_impl.hpp
+7
-4
single_include/nlohmann/json.hpp
single_include/nlohmann/json.hpp
+7
-4
No files found.
include/nlohmann/detail/iterators/iter_impl.hpp
View file @
3db14cbf
...
...
@@ -118,10 +118,13 @@ class iter_impl
to iterator is not defined.
*/
/* We had to explicitly define the copy constructor for the const
case to circumvent a bug on msvc 2015 debug build.
More info: https://github.com/nlohmann/json/issues/1608
*/
/*!
@brief const copy constructor
@param[in] other const iterator to copy from
@note This copy constuctor had to be defined explicitely to circumvent a bug
occuring on msvc v19.0 compiler (VS 2015) debug build. For more
information refer to: https://github.com/nlohmann/json/issues/1608
*/
iter_impl
(
const
iter_impl
<
const
BasicJsonType
>&
other
)
noexcept
:
m_object
(
other
.
m_object
),
m_it
(
other
.
m_it
)
{}
...
...
single_include/nlohmann/json.hpp
View file @
3db14cbf
...
...
@@ -7821,10 +7821,13 @@ class iter_impl
to iterator is not defined.
*/
/* We had to explicitly define the copy constructor for the const
case to circumvent a bug on msvc 2015 debug build.
More info: https://github.com/nlohmann/json/issues/1608
*/
/*!
@brief const copy constructor
@param[in] other const iterator to copy from
@note This copy constuctor had to be defined explicitely to circumvent a bug
occuring on msvc v19.0 compiler (VS 2015) debug build. For more
information refer to: https://github.com/nlohmann/json/issues/1608
*/
iter_impl
(
const
iter_impl
<
const
BasicJsonType
>&
other
)
noexcept
:
m_object
(
other
.
m_object
),
m_it
(
other
.
m_it
)
{}
...
...
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