<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:37 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-869] mongocxx::result::insert_many::inserted_ids() should be const</title>
                <link>https://jira.mongodb.org/browse/CXX-869</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;mongocxx::result::insert_many::inserted_ids() does not modify the object, is thread-safe, and does not affect the results of future methods calls, so it should be const. This is similar to result::bulk_write::upserted_ids(), which is already const.&lt;/p&gt;

&lt;p&gt;Original description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Check all member functions for whether they can or should be made noexcept, or constexpr, or even just const.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Subsequent previous description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Check all member functions for whether they can or should be made const.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="273758">CXX-869</key>
            <summary>mongocxx::result::insert_many::inserted_ids() should be const</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="sam.rossi@mongodb.com">Samuel Rossi</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Mar 2016 19:01:15 +0000</created>
                <updated>Fri, 17 Nov 2017 17:13:46 +0000</updated>
                            <resolved>Mon, 27 Feb 2017 18:58:31 +0000</resolved>
                                                    <fixVersion>3.2.0-rc0</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1510539" author="xgen-internal-githook" created="Mon, 27 Feb 2017 18:57:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;saghm&apos;, u&apos;name&apos;: u&apos;Saghm Rossi&apos;, u&apos;email&apos;: u&apos;saghmrossi@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-869&quot; title=&quot;mongocxx::result::insert_many::inserted_ids() should be const&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-869&quot;&gt;&lt;del&gt;CXX-869&lt;/del&gt;&lt;/a&gt; mongocxx::result::insert_many::inserted_ids() should be const&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/4ecd1b69138e24f94d5f58772bc05e7b4574bc68&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/4ecd1b69138e24f94d5f58772bc05e7b4574bc68&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1509374" author="sam.rossi" created="Fri, 24 Feb 2017 23:00:33 +0000"  >&lt;p&gt;As a result of the audit, we identified several places with incorrect constness. Most of these required API-breaking changes to fix, so they were put into &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1229&quot; title=&quot;Fix incorrect constness in several places&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1229&quot;&gt;CXX-1229&lt;/a&gt; (which has fix version &quot;future API change release&quot;.&lt;/p&gt;</comment>
                            <comment id="1379690" author="david.golden" created="Thu, 8 Sep 2016 16:58:19 +0000"  >&lt;p&gt;In particular, methods that interact with the database but don&apos;t modify the object should be made const, including CRUD methods like &lt;tt&gt;insert_one&lt;/tt&gt; and &lt;tt&gt;find&lt;/tt&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="357184">CXX-1229</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="349532">CXX-1203</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hrdsrj:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>