<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:03:30 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-1666] improve documentation of element::bool()</title>
                <link>https://jira.mongodb.org/browse/CXX-1666</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The documentation for `element::bool()` says&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160; &lt;tt&gt;Conversion operator to bool which is true for valid elements.&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;This might be clearer thus:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&#160;&#160;&#160; Conversion operator to bool which is true for valid elements &lt;font color=&quot;#4c9aff&quot;&gt;and false for invalid elements&lt;/font&gt;.&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;(Sadly, not all bool operators in the world really fully catch both sides of the condition.&#160; Being clear that it does saves checking source to be certain, and so makes the library just a bit easier to use.)&lt;/p&gt;</description>
                <environment></environment>
        <key id="616871">CXX-1666</key>
            <summary>improve documentation of element::bool()</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="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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jeff_abrahamson">Jeff Abrahamson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2018 09:38:51 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:22 +0000</updated>
                            <resolved>Mon, 15 Oct 2018 17:28:16 +0000</resolved>
                                                    <fixVersion>3.4.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2033067" author="jesse" created="Mon, 15 Oct 2018 17:28:16 +0000"  >&lt;p&gt;Thanks for the patch!&lt;/p&gt;</comment>
                            <comment id="2033065" author="xgen-internal-githook" created="Mon, 15 Oct 2018 17:27:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Abrahamson&apos;, &apos;email&apos;: &apos;jeff@jellybooks.com&apos;, &apos;username&apos;: &apos;JeffAbrahamson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1666&quot; title=&quot;improve documentation of element::bool()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1666&quot;&gt;&lt;del&gt;CXX-1666&lt;/del&gt;&lt;/a&gt; Improve comment on element::bool()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/4ddfc583997daa03ce992844fb40152815847c09&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/4ddfc583997daa03ce992844fb40152815847c09&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2030092" author="jeff_abrahamson" created="Thu, 11 Oct 2018 14:30:58 +0000"  >&lt;p&gt;Sure.&#160; Here&apos;s a patch produced with `git format-patch` and applyable with `git apply`.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/198519/198519_0001-Improve-comment-on-element-bool.patch&quot; title=&quot;0001-Improve-comment-on-element-bool.patch attached to CXX-1666&quot;&gt;0001-Improve-comment-on-element-bool.patch&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="2030036" author="jesse" created="Thu, 11 Oct 2018 13:51:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/blob/master/src/bsoncxx/document/element.hpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/blob/master/src/bsoncxx/document/element.hpp&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2030034" author="jesse" created="Thu, 11 Oct 2018 13:50:23 +0000"  >&lt;p&gt;Thanks, would you like to make a pull request?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="198519" name="0001-Improve-comment-on-element-bool.patch" size="830" author="jeff_abrahamson" created="Thu, 11 Oct 2018 14:30:12 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></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|hu0bon:</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>