File tree Expand file tree Collapse file tree 12 files changed +21
-21
lines changed Expand file tree Collapse file tree 12 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1531
1531
A name used in the definition of a class \tcode {X}%
1532
1532
\footnote {This
1533
1533
refers to unqualified names following the class name;
1534
- such a name may be used in a \grammarterm {base-specifier} or
1534
+ such a name might be used in a \grammarterm {base-specifier} or
1535
1535
in the \grammarterm {member-specification} of the class definition.}
1536
1536
outside of a complete-class context\iref {class.mem } of \tcode {X}
1537
1537
shall be declared in one of the following ways:
Original file line number Diff line number Diff line change 5849
5849
\throws
5850
5850
\tcode {length_error} if \tcode {n >
5851
5851
max_size()}.\footnote {\tcode {reserve()} uses \tcode {Allocator::allocate()} which
5852
- may throw an appropriate exception.}
5852
+ can throw an appropriate exception.}
5853
5853
5854
5854
\pnum
5855
5855
\remarks
Original file line number Diff line number Diff line change 7594
7594
An ambiguity exists if the best match finds two functions with the same
7595
7595
signature, even if one is in a namespace reachable through
7596
7596
\grammarterm {using-directive}{s} in the namespace of the other.\footnote {During
7597
- name lookup in a class hierarchy, some ambiguities may be
7597
+ name lookup in a class hierarchy, some ambiguities can be
7598
7598
resolved by considering whether one member hides the other along some
7599
7599
paths\iref {class.member.lookup }. There is no such disambiguation when
7600
7600
considering the set of names found as a result of following
Original file line number Diff line number Diff line change 292
292
whose type is not similar\iref {conv.qual } to
293
293
one of the following types the behavior is
294
294
undefined:\footnote {The intent of this list is to specify those circumstances in which an
295
- object may or may not be aliased.}
295
+ object can or cannot be aliased.}
296
296
\begin {itemize }
297
297
\item the dynamic type of the object,
298
298
4570
4570
potentially-overlapping subobject is
4571
4571
the size of the type, not the size of the subobject.%
4572
4572
\footnote {The actual size of a potentially-overlapping subobject
4573
- may be less than the result of
4573
+ can be less than the result of
4574
4574
applying \tcode {sizeof} to the subobject, due to virtual base classes
4575
4575
and less strict padding requirements on potentially-overlapping subobjects.}
4576
4576
\indextext {array!\idxcode {sizeof}}%
7310
7310
that is usable in constant expressions or
7311
7311
has constant initialization\iref {basic.start.static }.%
7312
7312
\footnote {Testing this condition
7313
- may involve a trial evaluation of its initializer as described above.}
7313
+ might involve a trial evaluation of its initializer as described above.}
7314
7314
\begin {example }
7315
7315
\begin {codeblock }
7316
7316
template<bool> struct X {};
Original file line number Diff line number Diff line change 3044
3044
Initializes:\footnote {The default constructor is protected for class
3045
3045
\tcode {basic_streambuf}
3046
3046
to assure that only objects for classes
3047
- derived from this class may be constructed.}
3047
+ derived from this class can be constructed.}
3048
3048
\begin {itemize }
3049
3049
\item
3050
3050
all pointer member objects to null pointers,
Original file line number Diff line number Diff line change 596
596
that designate the beginning and end of the computation, or an iterator and a
597
597
count that designate the beginning and the number of elements to which the
598
598
computation is to be applied.\footnote {The sentinel denoting the end of a range
599
- may have the same type as the iterator denoting the beginning of the range, or a
599
+ can have the same type as the iterator denoting the beginning of the range, or a
600
600
different type.}
601
601
602
602
\pnum
Original file line number Diff line number Diff line change 637
637
specified in \tref {lex.name.disallowed }.
638
638
Upper- and lower-case letters are
639
639
different. All characters are significant.\footnote {On systems in which linkers cannot accept extended
640
- characters, an encoding of the \grammarterm {universal-character-name} may be used in
640
+ characters, an encoding of the \grammarterm {universal-character-name} can be used in
641
641
forming valid external identifiers. For example, some otherwise unused
642
- character or sequence of characters may be used to encode the
642
+ character or sequence of characters can be used to encode the
643
643
\tcode {\textbackslash u} in a \grammarterm {universal-character-name}. Extended
644
644
characters may produce a long external identifier, but \Cpp {} does not
645
645
place a translation limit on significant characters for external
Original file line number Diff line number Diff line change 851
851
or namespaces nested within namespace
852
852
\tcode {std}.\footnote {The C standard library headers\iref {depr.c.headers } also define
853
853
names within the global namespace, while the \Cpp {} headers for C library
854
- facilities\iref {headers } may also define names within the global namespace.}%
854
+ facilities\iref {headers } can also define names within the global namespace.}%
855
855
\indextext {namespace}
856
856
It is unspecified whether names declared in a specific namespace are declared
857
857
directly in that namespace or in an inline namespace inside that
2209
2209
that meets the minimum requirements
2210
2210
of this document.
2211
2211
Therefore
2212
- an implementation may elect,
2212
+ an implementation can elect,
2213
2213
under the as-if rule\iref {intro.execution },
2214
2214
to provide any customization point
2215
2215
in the form
2775
2775
described in \ref {\firstlibchapter } through \ref {\lastlibchapter } and
2776
2776
\ref {depr } shall behave as if the implementation declared no additional
2777
2777
non-member function signatures.\footnote {A valid \Cpp {} program always
2778
- calls the expected library non-member function. An implementation may
2778
+ calls the expected library non-member function. An implementation can
2779
2779
also define additional non-member functions that would otherwise not
2780
2780
be called by a valid \Cpp {} program.}
2781
2781
Original file line number Diff line number Diff line change 2153
2153
constant number of \tcode {externT} characters needed to produce an internal
2154
2154
character; or \tcode {0} if this number is not a constant.\footnote {If \tcode {encoding()}
2155
2155
yields \tcode {-1}, then more than \tcode {max_length()} \tcode {externT} elements
2156
- may be consumed when producing a single \tcode {internT} character, and additional
2157
- \tcode {externT} elements may appear at the end of a sequence after those that
2156
+ can be consumed when producing a single \tcode {internT} character, and additional
2157
+ \tcode {externT} elements can appear at the end of a sequence after those that
2158
2158
yield the final \tcode {internT} character.}
2159
2159
\end {itemdescr }
2160
2160
3749
3749
An enumeration value indicating the preferred order of components for
3750
3750
those date formats that are composed of day, month, and year.\footnote {This
3751
3751
function is intended as a convenience only, for common
3752
- formats, and may return
3752
+ formats, and can return
3753
3753
\tcode {no_order}
3754
3754
in valid locales.}
3755
3755
Returns
Original file line number Diff line number Diff line change 526
526
non-exported \grammarterm {module-import-declaration}{s}
527
527
in the module unit purview of $ U$ .\footnote {This is consistent
528
528
with the rules for visibility of imported names\iref {basic.scope.namespace }.}
529
- These rules may in turn lead to the importation of yet more
529
+ These rules can in turn lead to the importation of yet more
530
530
translation units.
531
531
532
532
\pnum
Original file line number Diff line number Diff line change 2315
2315
\tcode {E(q)}%
2316
2316
\indextext {constructor!random number engine requirement}\footnote { This constructor
2317
2317
(as well as the subsequent corresponding \tcode {seed()} function)
2318
- may be particularly useful
2318
+ can be particularly useful
2319
2319
to applications requiring
2320
2320
a large number of independent random sequences.
2321
2321
}
7124
7124
that has zero length.\footnote {This default constructor is essential,
7125
7125
since arrays of
7126
7126
\tcode {valarray}
7127
- may be useful.
7127
+ can be useful.
7128
7128
After initialization, the length of an empty array can be increased with the
7129
7129
\tcode {resize}
7130
7130
member function.}
8175
8175
Such a slice is specified by a starting index, a length, and a
8176
8176
stride.\footnote {BLAS stands for
8177
8177
\textit {Basic Linear Algebra Subprograms. }
8178
- \Cpp {} programs may instantiate this class.
8178
+ \Cpp {} programs can instantiate this class.
8179
8179
See, for example,
8180
8180
Dongarra, Du Croz, Duff, and Hammerling:
8181
8181
\textit {A set of Level 3 Basic Linear Algebra Subprograms };
Original file line number Diff line number Diff line change 1233
1233
is applied to the value returned, with the original second
1234
1234
operand.\footnote {If the value returned by the
1235
1235
\tcode {\keyword {operator}->}
1236
- function has class type, this may result in selecting and calling another
1236
+ function has class type, this can result in selecting and calling another
1237
1237
\tcode {\keyword {operator}->}
1238
1238
function.
1239
1239
The process repeats until an
You can’t perform that action at this time.
0 commit comments