mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge branch 'master' of https://github.com/0x8000-0000/CppCoreGuidelines into 0x8000-0000-master
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user