📝 Improve doc on const_inter constructor
This commit is contained in:
parent
0a137b78ac
commit
3db14cbfae
2 changed files with 14 additions and 8 deletions
|
@ -118,9 +118,12 @@ class iter_impl
|
||||||
to iterator is not defined.
|
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.
|
@brief const copy constructor
|
||||||
More info: https://github.com/nlohmann/json/issues/1608
|
@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
|
iter_impl(const iter_impl<const BasicJsonType>& other) noexcept
|
||||||
: m_object(other.m_object), m_it(other.m_it) {}
|
: m_object(other.m_object), m_it(other.m_it) {}
|
||||||
|
|
|
@ -7821,9 +7821,12 @@ class iter_impl
|
||||||
to iterator is not defined.
|
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.
|
@brief const copy constructor
|
||||||
More info: https://github.com/nlohmann/json/issues/1608
|
@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
|
iter_impl(const iter_impl<const BasicJsonType>& other) noexcept
|
||||||
: m_object(other.m_object), m_it(other.m_it) {}
|
: m_object(other.m_object), m_it(other.m_it) {}
|
||||||
|
|
Loading…
Reference in a new issue