We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6bd66 commit b8538e0Copy full SHA for b8538e0
cppguide.html
@@ -1868,9 +1868,10 @@ <h3 id="Inputs_and_Outputs">Inputs and Outputs</h3>
1868
<p>Parameters are either input to the function, output from the
1869
function, or both. Input parameters should usually be values
1870
or <code>const</code> references,
1871
+<span class="nondrake">
1872
while required (non-nullable) output and input/output parameters should
1873
usually be references. Generally, use <code>absl::optional</code> to represent
-optional inputs, and non-<code>const</code> pointers to represent
1874
+optional inputs,</span> and use non-<code>const</code> pointers to represent
1875
optional outputs.</p>
1876
1877
<p>
0 commit comments