ReactOS 0.4.15-dev-8417-gb6b82fe
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 }
GLenum src
Definition: glext.h:6340
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
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 }
GLdouble GLdouble t
Definition: gl.h:2047
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: