C++ features by examples
Visitor Struct Referenceabstract

is a pure virtual visitor of Sample_component and other specific components More...

Public Member Functions

virtual string visit (const Sample_component &) const =0
 overloaded function for each component More...
 
virtual ~Visitor ()=default
 

Detailed Description

is a pure virtual visitor of Sample_component and other specific components

Definition at line 446 of file patterns.cpp.

Constructor & Destructor Documentation

◆ ~Visitor()

virtual Visitor::~Visitor ( )
virtualdefault

Member Function Documentation

◆ visit()

virtual string Visitor::visit ( const Sample_component ) const
pure virtual

overloaded function for each component

Here is the caller graph for this function:

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