C++ Library Extensions 2022.12.09
To help learn modern C++ programming
Shape Struct Reference
Inheritance diagram for Shape:
[legend]
Collaboration diagram for Shape:
[legend]

Public Member Functions

 Shape (Circle c, Square s)
 
void display () const
 
- Public Member Functions inherited from Circle
void display () const
 
- Public Member Functions inherited from Square
void display () const
 

Additional Inherited Members

- Public Attributes inherited from Circle
Point m_center
 
int m_radius
 
- Public Attributes inherited from Square
Point m_center
 
int m_side
 

Detailed Description

Definition at line 38 of file 15-mixin.cpp.

Constructor & Destructor Documentation

◆ Shape()

Shape::Shape ( Circle  c,
Square  s 
)
inline

Definition at line 40 of file 15-mixin.cpp.

Member Function Documentation

◆ display()

void Shape::display ( ) const
inline

Definition at line 42 of file 15-mixin.cpp.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: