mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge branch 'master' of https://github.com/0x8000-0000/CppCoreGuidelines into 0x8000-0000-master
This commit is contained in:
commit
bfcffb8561
|
@ -6227,7 +6227,8 @@ To make this interface useful, we must provide its implementation classes (here,
|
||||||
};
|
};
|
||||||
|
|
||||||
Now `Shape` is a poor example of a class with an implementation,
|
Now `Shape` is a poor example of a class with an implementation,
|
||||||
but bare with us because this is just a simple example of a technique aimed at more complex hierarchies.
|
but bear with us because this is just a simple example of a technique aimed at more complex hierarchies.
|
||||||
|
|
||||||
|
|
||||||
class Impl::Circle : public Circle, public Impl::Shape { // implementation
|
class Impl::Circle : public Circle, public Impl::Shape { // implementation
|
||||||
publc:
|
publc:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user