ReactOS  0.4.12-dev-945-g5a2911d
bind_test.cpp File Reference
#include <algorithm>
#include <functional>
#include "cppunit/cppunit_proxy.h"
Include dependency graph for bind_test.cpp:

Go to the source code of this file.

Classes

class  BindTest
 
class  pre_increment
 
class  post_increment
 
class  A< T1 >
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (BindTest)
 
int test_func1 (const int &param1, const int &param2)
 
int test_func2 (int &param1, int param2)
 

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( BindTest  )

◆ test_func1()

int test_func1 ( const int param1,
const int param2 
)

Definition at line 91 of file bind_test.cpp.

91  {
92  return param1 + param2;
93 }

Referenced by BindTest::bind2nd3().

◆ test_func2()

int test_func2 ( int param1,
int  param2 
)

Definition at line 95 of file bind_test.cpp.

95  {
96  param1 += param2;
97  return param1 + param2;
98 }

Referenced by BindTest::bind2nd3().