mirror of
https://github.com/DevEhChad/cpp-cheatsheet.git
synced 2025-11-08 05:55:47 +00:00
Class and Template section fix.
This commit is contained in:
committed by
GitHub
parent
78ca3f18b6
commit
30ca9f532f
@@ -275,7 +275,7 @@ class W: public T, public U {};
|
||||
// Multiple inheritance
|
||||
class X: public virtual T {};
|
||||
// Classes derived from X have base T directly
|
||||
```cpp
|
||||
```
|
||||
|
||||
All classes have a default copy constructor, assignment operator, and destructor, which perform the
|
||||
corresponding operations on each data member and each base class as shown above. There is also a default no-argument
|
||||
|
||||
Reference in New Issue
Block a user