Merge pull request #3 from Khalilw1/master

Class and Template section fix.
This commit is contained in:
Morten Nobel-Jørgensen
2018-07-31 10:57:48 +02:00
committed by GitHub

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