![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
Public Member Functions | |
void | operator() () const |
void | bark () override |
void | speak () override |
![]() | |
virtual void | bark ()=0 |
void | species () override |
![]() | |
virtual void | species ()=0 |
virtual void | speak ()=0 |
virtual | ~Animal ()=default |
Public Attributes | |
std::string | m_name |
Definition at line 6 of file 16-advanced_mixin.cpp.
|
inlineoverridevirtual |
Implements Canis.
Reimplemented in JindoDog, and ChowChow.
Definition at line 75 of file 27-dynamic_polymorphism.cpp.
|
inline |
Definition at line 10 of file 16-advanced_mixin.cpp.
|
inlineoverridevirtual |
Implements Animal.
Reimplemented in JindoDog, and ChowChow.
Definition at line 80 of file 27-dynamic_polymorphism.cpp.
std::string Dog::m_name |
Definition at line 8 of file 16-advanced_mixin.cpp.