ReactOS  0.4.14-dev-52-g6116262
test_assign_op< T > Struct Template Reference

#include <test_assign_op.h>

Public Member Functions

 test_assign_op (const T &src)
 
void operator() (T &t) const
 

Private Attributes

const Tsource
 

Detailed Description

template<class T>
struct test_assign_op< T >

Definition at line 30 of file test_assign_op.h.

Constructor & Destructor Documentation

◆ test_assign_op()

template<class T >
test_assign_op< T >::test_assign_op ( const T src)
inline

Definition at line 31 of file test_assign_op.h.

32  : source(src) {
33  gTestController.SetCurrentTestName("assignment operator");
34  }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
GLenum src
Definition: glext.h:6340
const T & source

Member Function Documentation

◆ operator()()

template<class T >
void test_assign_op< T >::operator() ( T t) const
inline

Definition at line 36 of file test_assign_op.h.

36  {
37  t = source;
38 
39  // Prevent simulated failures during verification
41  //EH_ASSERT( source == t );
42  }
TestController gTestController
Definition: nc_alloc.cpp:46
GLdouble GLdouble t
Definition: gl.h:2047
const T & source
static void CancelFailureCountdown()
Definition: nc_alloc.h:143

Member Data Documentation

◆ source

template<class T >
const T& test_assign_op< T >::source
private

Definition at line 44 of file test_assign_op.h.

Referenced by test_assign_op< T >::operator()().


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