ScummVM API documentation
Common::Functor2Fun< Arg1, Arg2, Res > Class Template Reference

#include <func.h>

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

Public Types

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

Public Member Functions

 Functor2Fun (const FuncType func)
 
bool isValid () const
 
Res operator() (Arg1 v1, Arg2 v2) const
 

Detailed Description

template<class Arg1, class Arg2, class Res>
class Common::Functor2Fun< Arg1, Arg2, Res >

Functor object for a binary function.

See also
Functor2Mem

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