mozilla

Compare Revisions

Using C++ in Mozilla code

Change Revisions

Revision 481661:

Revision 481661 by Jcranmer on

Revision 481667:

Revision 481667 by Jcranmer on

Title:
Using C++ in Mozilla code
Using C++ in Mozilla code
Slug:
Using_CXX_in_Mozilla_code
Using_CXX_in_Mozilla_code
Content:

Revision 481661
Revision 481667
n247          <td>n247          <td style="vertical-align: middle;">
n250          <td style="background-color: rgb(204, 255, 153);">n250          <td style="vertical-align: middle; background-color: rg
 >b(204, 255, 153);">
n253          <td style="background-color: rgb(255, 204, 204);">n253          <td style="vertical-align: middle; background-color: rg
 >b(255, 204, 204);">
n256          <td style="background-color: rgb(204, 255, 153);">n256          <td style="vertical-align: middle; background-color: rg
 >b(204, 255, 153);">
n260            Include <a href="http://dxr.mozilla.org/mozilla-centrn260            Include <a href="http://dxr.mozilla.org/mozilla-centr
>al/source/mfbt/NullPtr.h" title="http://dxr.mozilla.org/mozilla-c>al/source/mfbt/NullPtr.h" title="http://dxr.mozilla.org/mozilla-c
>entral/source/mfbt/NullPtr.h">mozilla/NullPtr.h</a> (use decltype>entral/source/mfbt/NullPtr.h">mozilla/NullPtr.h</a><br>
>(nullptr) instead of std::nullptr_t) 
261            Use <code>decltype(nullptr)</code> instead of <code>s
 >td::nullptr_t</code>.
n396            No (see notes)n397            No
n413            <p>n
414              Include <a href="http://dxr.mozilla.org/mozilla-cen414            Include <a href="http://dxr.mozilla.org/mozilla-centr
>tral/source/mfbt/Char16.h" title="http://dxr.mozilla.org/mozilla->al/source/mfbt/Char16.h" title="http://dxr.mozilla.org/mozilla-ce
>central/source/mfbt/Char16.h">mozilla/Char16.h</a> to use.<br>>ntral/source/mfbt/Char16.h">mozilla/Char16.h</a> to use.<br>
415              Use <code>MOZ_UTF16("string")</code> instead of u"s415            Use <code>MOZ_UTF16("string")</code> instead of u"str
>tring".>ing".
416            </p>
n636    </p>n
637    <p>
638      Explicit conversion operators: (Where is our bool helper?).
t1220      sec 26: &lt;val_array&gt;t1216      sec 26: &lt;valarray&gt;

Back to History