<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:01: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-1162] Use stdx::make_unique instead of bare calls to &apos;new&apos; when initializing std::unique_ptr variables, where possible</title>
                <link>https://jira.mongodb.org/browse/CXX-1162</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Using stdx::make_unique increases exception safety in some circumstances.  See &lt;a href=&quot;https://herbsutter.com/gotw/_102/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://herbsutter.com/gotw/_102/&lt;/a&gt; for reference.&lt;/p&gt;</description>
                <environment></environment>
        <key id="338222">CXX-1162</key>
            <summary>Use stdx::make_unique instead of bare calls to &apos;new&apos; when initializing std::unique_ptr variables, where possible</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="patrick.freed@mongodb.com">Patrick Freed</assignee>
                                    <reporter username="backlog-cxx-driver">Backlog - CXX Driver Team</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 12 Dec 2016 20:51:09 +0000</created>
                <updated>Fri, 11 Aug 2017 02:31:53 +0000</updated>
                            <resolved>Wed, 7 Jun 2017 15:16:59 +0000</resolved>
                                                    <fixVersion>3.2.0-rc0</fixVersion>
                                    <component>Implementation</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1589885" author="xgen-internal-githook" created="Wed, 7 Jun 2017 15:14:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;patrickfreed&apos;, u&apos;name&apos;: u&apos;Patrick Freed&apos;, u&apos;email&apos;: u&apos;fridpatrick@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1162&quot; title=&quot;Use stdx::make_unique instead of bare calls to &amp;#39;new&amp;#39; when initializing std::unique_ptr variables, where possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1162&quot;&gt;&lt;del&gt;CXX-1162&lt;/del&gt;&lt;/a&gt; Use stdx::make_unique instead of &apos;new&apos; when initializing std::unique_ptr&apos;s&lt;/p&gt;

&lt;p&gt;This commit does not change some instances due to their need for a supplied destructor (make_unique does not allow for them).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/c2d4905346142cde8eef9766022b0a7fe1766de4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/c2d4905346142cde8eef9766022b0a7fe1766de4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1455680" author="rassi@10gen.com" created="Mon, 12 Dec 2016 20:59:17 +0000"  >&lt;p&gt;Right, thanks for the reminder.  Updated summary to add &quot;where possible&quot;.&lt;/p&gt;</comment>
                            <comment id="1455674" author="acm" created="Mon, 12 Dec 2016 20:56:17 +0000"  >&lt;p&gt;Note that there may be cases where you can&apos;t, because the constructor of the thing you want to make_unique for is private, and them std&lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt;::make_unique can&apos;t call it.&lt;/p&gt;</comment>
                    </comments>
                    <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|hr9nrj:</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>