ScummVM API documentation
Common::Functor2< Arg1, Arg2, Res > Struct Template Referenceabstract

#include <func.h>

Inheritance diagram for Common::Functor2< Arg1, Arg2, Res >:
Common::BinaryFunction< Arg1, Arg2, Res > Common::Functor2Fun< Arg1, Arg2, Res > Common::Functor2Mem< Arg1, Arg2, Res, T >

Public Member Functions

virtual bool isValid () const =0
 
virtual Res operator() (Arg1, Arg2) const =0
 

Additional Inherited Members

- Public Types inherited from Common::BinaryFunction< Arg1, Arg2, Res >
typedef Arg1 FirstArgumentType
 
typedef Arg2 SecondArgumentType
 
typedef Res ResultType
 

Detailed Description

template<class Arg1, class Arg2, class Res>
struct Common::Functor2< Arg1, Arg2, Res >

Generic functor object for binary function objects.

See also
Functor1

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