File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 281
281
{figvirt.pdf}
282
282
\end {importgraphic }
283
283
For an object \tcode {c} of class type \tcode {C}, a single subobject of
284
- type \tcode {V} is shared by every base subobject of \tcode {c} that has a
284
+ type \tcode {V} is shared by every base class subobject of \tcode {c} that has a
285
285
\tcode {virtual} base class of type \tcode {V}. Given the class \tcode {C}
286
286
defined above, an object of class \tcode {C} will have one subobject of
287
287
class \tcode {V}, as shown in Figure~\ref {fig:virt }.
418
418
\end {codeblock }
419
419
420
420
$ S(x,F)$ is unambiguous because the \tcode {A} and \tcode {B} base
421
- subobjects of \tcode {D} are also base subobjects of \tcode {E}, so
421
+ class subobjects of \tcode {D} are also base class subobjects of \tcode {E}, so
422
422
$ S(x,D)$ is discarded in the first merge step.
423
423
\end {example }
424
424
Original file line number Diff line number Diff line change 1465
1465
If the function fails\footnote {for example, because it cannot allocate space.}
1466
1466
and
1467
1467
\tcode {*this}
1468
- is a base subobject of a
1468
+ is a base class subobject of a
1469
1469
\tcode {basic_ios<>}
1470
1470
object or subobject, the effect is equivalent to calling
1471
1471
\tcode {basic_ios<>::setstate(badbit)}
1509
1509
If the function fails\footnote {for example, because it cannot allocate space.}
1510
1510
and
1511
1511
\tcode {*this}
1512
- is a base subobject of a
1512
+ is a base class subobject of a
1513
1513
\tcode {basic_ios<>}
1514
1514
object or subobject, the effect is equivalent to calling
1515
1515
\tcode {basic_ios<>::setstate(badbit)}
6278
6278
interface to iostreams, since for flexibility it has been abstracted
6279
6279
away from direct dependence on
6280
6280
\tcode {ostream}.
6281
- The second parameter is a reference to the base subobject of type
6281
+ The second parameter is a reference to the base class subobject of type
6282
6282
\tcode {ios_base}.
6283
6283
It provides formatting specifications such as field width, and
6284
6284
a locale from which to obtain other facets.
Original file line number Diff line number Diff line change 1581
1581
1582
1582
\pnum
1583
1583
In the definition of a constructor for a class,
1584
- initializers for direct and virtual base subobjects and
1584
+ initializers for direct and virtual base class subobjects and
1585
1585
non-static data members can be specified by a
1586
1586
\grammarterm {ctor-initializer},
1587
1587
which has the form
You can’t perform that action at this time.
0 commit comments