Class and Template section fix.

This commit is contained in:
Ait Brahim Mohammed Khalil
2018-07-31 01:07:27 +01:00
committed by GitHub
parent 78ca3f18b6
commit 30ca9f532f

View File

@@ -275,7 +275,7 @@ class W: public T, public U {};
// Multiple inheritance // Multiple inheritance
class X: public virtual T {}; class X: public virtual T {};
// Classes derived from X have base T directly // Classes derived from X have base T directly
```cpp ```
All classes have a default copy constructor, assignment operator, and destructor, which perform the 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 corresponding operations on each data member and each base class as shown above. There is also a default no-argument