ReactOS  0.4.15-dev-5097-g328cc41
fadapter.h File Reference
#include <functional>
Include dependency graph for fadapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __void_tag
 
class  pointer_to_void_function< Result >
 
struct  projectvoid< Arg1 >
 
class  pointer_to_unary_procedure< Arg >
 
class  pointer_to_binary_procedure< Arg1, Arg2 >
 

Functions

template<class Result >
pointer_to_void_function< Resultptr_fun (Result(*x)())
 
template<class Result >
pointer_to_void_function< Resultptr_gen (Result(*x)())
 
template<class Arg >
pointer_to_unary_procedure< Arg > ptr_proc (void(*x)(Arg))
 
template<class Arg1 , class Arg2 >
pointer_to_binary_procedure< Arg1, Arg2 > ptr_proc (void(*x)(Arg1, Arg2))
 

Function Documentation

◆ ptr_fun()

template<class Result >
pointer_to_void_function<Result> ptr_fun ( Result(*)()  x)

Definition at line 33 of file fadapter.h.

33  {
35 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

◆ ptr_gen()

template<class Result >
pointer_to_void_function<Result> ptr_gen ( Result(*)()  x)

Definition at line 39 of file fadapter.h.

39  {
41 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Referenced by GeneratorTest::gener1(), and GeneratorTest::genern1().

◆ ptr_proc() [1/2]

template<class Arg >
pointer_to_unary_procedure<Arg> ptr_proc ( void(*)(Arg)  x)
inline

Definition at line 58 of file fadapter.h.

58  {
60 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

◆ ptr_proc() [2/2]

template<class Arg1 , class Arg2 >
pointer_to_binary_procedure<Arg1, Arg2> ptr_proc ( void(*)(Arg1, Arg2)  x)
inline

Definition at line 76 of file fadapter.h.

76  {
78 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548