<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05:22 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-2266] Use bsoncxx::string::view_or_value in gridfs::bucket</title>
                <link>https://jira.mongodb.org/browse/CXX-2266</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;mongocxx::bucket::bucket_name() takes a&#160;std::string.&lt;br/&gt;
As other parts of the code, a bsoncxx::string::view_or_value should be used.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1728730">CXX-2266</key>
            <summary>Use bsoncxx::string::view_or_value in gridfs::bucket</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="adrian.blandin@sovo-tech.com">Adrian B</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 May 2021 01:41:45 +0000</created>
                <updated>Mon, 16 Oct 2023 06:26:32 +0000</updated>
                                                            <fixVersion>4.0.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3795124" author="JIRAUSER1257919" created="Thu, 20 May 2021 15:43:07 +0000"  >&lt;p&gt;Hi Kevin,&lt;br/&gt;
Yes, mainly a consistency issue and also to avoid the user to allocate a string when he has a &lt;em&gt;string_view&lt;/em&gt; or a &lt;em&gt;const char*&lt;/em&gt; (as a static global variable by example). &lt;br/&gt;
We should survive without it&#160;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.&lt;br/&gt;
Thanks.&lt;/p&gt;</comment>
                            <comment id="3795015" author="kevin.albertson" created="Thu, 20 May 2021 15:29:12 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adrian.blandin%40sovo-tech.com&quot; class=&quot;user-hover&quot; rel=&quot;adrian.blandin@sovo-tech.com&quot;&gt;adrian.blandin@sovo-tech.com&lt;/a&gt;! Thank you for the report. Since &lt;tt&gt;mongocxx::bucket::bucket_name&lt;/tt&gt; retains a copy of the passed string, I don&apos;t think this is strictly necessary. Unnecessary copies could be avoided by a &lt;tt&gt;std::move&lt;/tt&gt;&#160;of the passed string. But it seems like a worthwhile improvement to make for consistency in the next major release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1754466">CXX-2270</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2761</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6lrw:</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>