C++ features by examples
Interface Struct Referenceabstract

is a common pure virtual interface More...

Inheritance diagram for Interface:

Public Member Functions

virtual int method ()=0
 
virtual ~Interface ()=default
 

Detailed Description

is a common pure virtual interface

Definition at line 165 of file patterns.cpp.

Constructor & Destructor Documentation

◆ ~Interface()

virtual Interface::~Interface ( )
virtualdefault

Member Function Documentation

◆ method()

virtual int Interface::method ( )
pure virtual

Implemented in Sample_product, Prototype, Bridge, Proxy, Decorator, Composite, and Active_object.

Here is the caller graph for this function:

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