mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fixed the errors detected by Travis CI and @jwakely
This commit is contained in:
parent
cdf2e7e5ea
commit
12f0954f66
|
@ -7302,7 +7302,7 @@ Contrast with [C.147](#Rh-ptr-cast), where failure is an error, and should not b
|
||||||
|
|
||||||
##### Example
|
##### Example
|
||||||
|
|
||||||
The example below describes a `Shape_owner` that takes ownership of constructed `Shape` objects. The objects are also sorted into views, according to their geometric attributes.
|
The example below describes the `add` method of a `Shape_owner` that takes ownership of constructed `Shape` objects. The objects are also sorted into views, according to their geometric attributes.
|
||||||
In this example, `Shape` does not inherit from `Geometric_attributes`. Only its subclasses do.
|
In this example, `Shape` does not inherit from `Geometric_attributes`. Only its subclasses do.
|
||||||
|
|
||||||
void add(Shape* const item)
|
void add(Shape* const item)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user