Skip to content

Commit d4035d8

Browse files
author
Colin Robertson
committed
Fix more stray underscore issues.
1 parent dcefc14 commit d4035d8

File tree

4 files changed

+83
-85
lines changed

4 files changed

+83
-85
lines changed

docs/standard-library/binder2nd-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class binder2nd
2020
typedef typename Operation::argument_type argument_type;
2121
typedef typename Operation::result_type result_type;
2222
binder2nd(
23-
const Operation& Func,
23+
const Operation& func,
2424
const typename Operation::second_argument_type& right);
2525

2626
result_type operator()(const argument_type& left) const;
@@ -30,7 +30,7 @@ class binder2nd
3030
3131
### Parameters
3232
33-
*Func*\
33+
*func*\
3434
The binary function object to be converted to a unary function object.
3535
3636
*right*\
@@ -39,15 +39,15 @@ The value to which the second argument of the binary function object is to be bo
3939
*left*\
4040
The value of the argument that the adapted binary object compares to the fixed value of the second argument.
4141
42-
## Return Value
42+
## Return value
4343
4444
The unary function object that results from binding the second argument of the binary function object to the value *right*.
4545
4646
## Remarks
4747
48-
The class template stores a copy of a binary function object _ *Func* in `op`, and a copy of *right* in `value`. It defines its member function `operator()` as returning **op**(`left`, **value**).
48+
The class template stores a copy of a binary function object *func* in `op`, and a copy of *right* in `value`. It defines its member function `operator()` as returning `op(left, value)`.
4949
50-
If `Func` is an object of type `Operation` and c is a constant, then [bind2nd](../standard-library/functional-functions.md#bind2nd) (`Func`, `c`) is equivalent to the `binder2nd` class constructor `binder2nd`\< **Operation**> (`Func`, `c`) and more convenient.
50+
If *func* is an object of type `Operation` and c is a constant, then [bind2nd](../standard-library/functional-functions.md#bind2nd)`(func, c)` is equivalent to the `binder2nd` class constructor `binder2nd<Operation>(func, c)`, and more convenient.
5151
5252
## Example
5353

docs/standard-library/bitset-operators.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ A text representation of the bit sequence in `ostr`.
8383

8484
The template function overloads `operator<<`, allowing a bitset to be written out without first converting it into a string. The template function effectively executes:
8585

86-
**ostr** <<_*Right*. [to_string](bitset-class.md) <**CharType**, **Traits**, **allocator**\<**CharType**>>()
86+
`ostr << right.`[to_string](bitset-class.md)`<CharType, Traits, allocator<CharType>>()`
8787

8888
### Example
8989

@@ -123,29 +123,27 @@ Reads a string of bit characters into a bitset.
123123
```
124124
template <class CharType, class Traits, size_t Bits>
125125
basic_istream<CharType, Traits>& operator>> (
126-
basic_istream<CharType, Traits>&
127-
_Istr,
128-
bitset<N>&
129-
right);
126+
basic_istream<CharType, Traits>& i_str,
127+
bitset<N>& right);
130128
```
131129
132130
### Parameters
133131
134-
*_Istr*\
132+
*i_str*\
135133
The string that is entered into the input stream to be inserted into the bitset.
136134
137135
*right*\
138136
The bitset that is receiving the bits from the input stream.
139137
140138
### Return Value
141139
142-
The template function returns the string *_Istr*.
140+
The template function returns the string *i_str*.
143141
144142
### Remarks
145143
146-
The template function overloads `operator>>` to store in the bitset _ *Right* the value bitset(`str`), where `str` is an object of type [basic_string](basic-string-class.md) < **CharType**, **Traits**, **allocator**\< **CharType**> > **&** extracted from *_Istr*.
144+
The template function overloads `operator>>` to store in the bitset *right* the value `bitset(str)`, where `str` is an object of type [basic_string](basic-string-class.md)`< CharType, Traits, allocator< CharType > >&` extracted from *i_str*.
147145
148-
The template function extracts elements from *_Istr* and inserts them into the bitset until:
146+
The template function extracts elements from *i_str* and inserts them into the bitset until:
149147
150148
- All the bit elements have been extracted from the input stream and stored in the bitset.
151149

0 commit comments

Comments
 (0)