mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Merge pull request #643 from jruderman/patch-1
cppguide: remove space before comma
This commit is contained in:
commit
78f4fca97f
|
@ -4662,8 +4662,7 @@ 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
|
||||||
|
@ -5894,4 +5893,4 @@ more interesting. Have fun!</p>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user