mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Revert "cppguide: remove space before comma"
This commit is contained in:
parent
9a6a5d3db3
commit
77dc3eb15b
|
@ -4662,7 +4662,8 @@ one of the following remedies:</p>
|
||||||
values self-describing.</li>
|
values self-describing.</li>
|
||||||
|
|
||||||
<li>For functions that have several configuration options, consider
|
<li>For functions that have several configuration options, consider
|
||||||
defining a single class or struct to hold all the options,
|
defining a single class or struct to hold all the options
|
||||||
|
,
|
||||||
and pass an instance of that.
|
and pass an instance of that.
|
||||||
This approach has several advantages. Options are referenced by name
|
This approach has several advantages. Options are referenced by name
|
||||||
at the call site, which clarifies their meaning. It also reduces
|
at the call site, which clarifies their meaning. It also reduces
|
||||||
|
@ -5893,4 +5894,4 @@ more interesting. Have fun!</p>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user