<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:01:18 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-1068] Make bsoncxx iterators always const_iterators</title>
                <link>https://jira.mongodb.org/browse/CXX-1068</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;This is a tracking ticket for &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/555&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/555&lt;/a&gt; :&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;STL-style containers return const_iterator using methods begin/end for const objects, but your implementation returns non const iterators for const objects.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;After consideration, instead of adopting the pull request, we decided to make all iterator const_iterators and to alias the iterator types to their corresponding const_iterator type.&lt;/p&gt;</description>
                <environment></environment>
        <key id="321008">CXX-1068</key>
            <summary>Make bsoncxx iterators always const_iterators</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="david.golden@mongodb.com">David Golden</assignee>
                                    <reporter username="david.golden@mongodb.com">David Golden</reporter>
                        <labels>
                            <label>pull-request</label>
                    </labels>
                <created>Tue, 4 Oct 2016 19:49:31 +0000</created>
                <updated>Tue, 15 Nov 2016 22:10:04 +0000</updated>
                            <resolved>Thu, 3 Nov 2016 18:35:55 +0000</resolved>
                                                    <fixVersion>3.0.3</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="1429315" author="xgen-internal-githook" created="Tue, 8 Nov 2016 16:25:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;xdg&apos;, u&apos;name&apos;: u&apos;David Golden&apos;, u&apos;email&apos;: u&apos;xdg@xdg.me&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1068&quot; title=&quot;Make bsoncxx iterators always const_iterators&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1068&quot;&gt;&lt;del&gt;CXX-1068&lt;/del&gt;&lt;/a&gt; Fix incomplete bsoncxx iterator API&lt;/p&gt;

&lt;p&gt;This commit rationalizes the bsoncxx iterator API for both&lt;br/&gt;
bsoncxx::document::view and bsoncxx::array::view:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The non-const iterator implementation is removed; for both document::view&lt;br/&gt;
  and array::view, iterator is a type alias to const_iterator.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;begin(), cbegin(), end(), cend(), and find() always return&lt;br/&gt;
  a const_iterator.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This replaces and closes #555.&lt;br/&gt;
Branch: 3.1-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/72ba8fd4ff0a5e292bb2b64b5e15f8ec369dbf33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/72ba8fd4ff0a5e292bb2b64b5e15f8ec369dbf33&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1425446" author="xgen-internal-githook" created="Thu, 3 Nov 2016 18:35:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;xdg&apos;, u&apos;name&apos;: u&apos;David Golden&apos;, u&apos;email&apos;: u&apos;xdg@xdg.me&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1068&quot; title=&quot;Make bsoncxx iterators always const_iterators&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1068&quot;&gt;&lt;del&gt;CXX-1068&lt;/del&gt;&lt;/a&gt; Fix incomplete bsoncxx iterator API&lt;/p&gt;

&lt;p&gt;This commit rationalizes the bsoncxx iterator API for both&lt;br/&gt;
bsoncxx::document::view and bsoncxx::array::view:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The non-const iterator implementation is removed; for both document::view&lt;br/&gt;
  and array::view, iterator is a type alias to const_iterator.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;begin(), cbegin(), end(), cend(), and find() always return&lt;br/&gt;
  a const_iterator.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This replaces and closes #555.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/72ba8fd4ff0a5e292bb2b64b5e15f8ec369dbf33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/72ba8fd4ff0a5e292bb2b64b5e15f8ec369dbf33&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrc86n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1351">Perl/CXX 2016-11-11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>