Skip to content

Commit 27a831a

Browse files
committed
Strikethrough "const on local variables"
1 parent f095291 commit 27a831a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cppguide.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3238,8 +3238,10 @@ <h3 id="Use_of_const">Use of const</h3>
32383238
rare), or they can't safely be invoked concurrently.</li>
32393239
</ul>
32403240

3241+
<span class="nondrake">
32413242
<p>Using <code>const</code> on local variables is neither encouraged
32423243
nor discouraged.</p>
3244+
</span>
32433245

32443246
<p>All of a class's <code>const</code> operations should be safe
32453247
to invoke concurrently with each other. If that's not feasible, the class must

0 commit comments

Comments
 (0)