26 lines
382 B
C++
26 lines
382 B
C++
/*
|
||
* IFunctor.h
|
||
*
|
||
* Created on: 16 авг. 2017 г.
|
||
* Author: titov
|
||
*/
|
||
|
||
#ifndef SOURCE_SYSTEM_IFUNCTOR_H_
|
||
#define SOURCE_SYSTEM_IFUNCTOR_H_
|
||
|
||
namespace systemic {
|
||
|
||
template<typename ReturnType, typename ... Args>
|
||
struct IFunctor {
|
||
|
||
virtual ReturnType operator()( Args ... args ) = 0;
|
||
|
||
virtual ~IFunctor() = default;
|
||
};
|
||
|
||
}
|
||
|
||
|
||
|
||
#endif /* SOURCE_SYSTEM_IFUNCTOR_H_ */
|