mozilla

Compare Revisions

Using C++ in Mozilla code

Change Revisions

Revision 482633:

Revision 482633 by Jcranmer on

Revision 482635:

Revision 482635 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 482633
Revision 482635
n1099    <p>n
1100      sec 25: &lt;algorithm&gt;
1101    </p>
1102    <p>
1103      sec 26: &lt;valarray&gt;
1104    </p>
n1108    <p>n1102    <table class="standard-table">
1109      sec 21: &lt;string&gt;1103      <thead>
1110    </p>1104        <tr>
1111    <p>1105          <th scope="col">
1112      sec 22: &lt;codecvt&gt;1106            Name
1113    </p>1107          </th>
1108          <th scope="col">
1109            Header
1110          </th>
1111          <th scope="col">
1112            MSVC
1113          </th>
1114          <th scope="col">
1115            libstdc++
1116          </th>
1117          <th scope="col">
1118            libc++
1119          </th>
1120          <th scope="col">
1121            STLport
1122          </th>
1123          <th scope="col">
1124            Purpose
1125          </th>
1126          <th scope="col">
1127            Notes
1128          </th>
1129        </tr>
1130      </thead>
1131      <tbody>
1132        <tr>
1133          <td>
1134            <code>std::u16string</code>, <code>std::u32string</co
 >de>
1135          </td>
1136          <td>
1137            <code>&lt;string&gt;</code>
1138          </td>
1139          <td>
1140            &nbsp;
1141          </td>
1142          <td>
1143            &nbsp;
1144          </td>
1145          <td>
1146            &nbsp;
1147          </td>
1148          <td>
1149            &nbsp;
1150          </td>
1151          <td>
1152            &nbsp;
1153          </td>
1154          <td>
1155            &nbsp;
1156          </td>
1157        </tr>
1158        <tr>
1159          <td>
1160            <code>std::codecvt_utf8</code>
1161          </td>
1162          <td>
1163            <code>&lt;codecvt&gt;</code>
1164          </td>
1165          <td>
1166            &nbsp;
1167          </td>
1168          <td>
1169            &nbsp;
1170          </td>
1171          <td>
1172            &nbsp;
1173          </td>
1174          <td>
1175            &nbsp;
1176          </td>
1177          <td>
1178            &nbsp;
1179          </td>
1180          <td>
1181            &nbsp;
1182          </td>
1183        </tr>
1184      </tbody>
1185    </table>
t1118      sec 27. All of itt1190      Don't use C++'s I/O functionality, particularly <code>std::
 >cin</code> and <code>std::cout</code>. The interface is necessari
 >ly synchronous, and it causes static constructors to be added. In
 >stead, use the stream APIs developed in XPCOM for input and outpu
 >t.

Back to History