ReactOS 0.4.16-dev-117-g38f21f9
test_uninitialized_copy Struct Reference
Collaboration diagram for test_uninitialized_copy:

Public Member Functions

 test_uninitialized_copy ()
 
 ~test_uninitialized_copy ()
 
void operator() (TestClass *buffer) const
 

Private Attributes

TestClassstuff
 
TestClassend_of_stuff
 

Detailed Description

Definition at line 34 of file test_algobase.cpp.

Constructor & Destructor Documentation

◆ test_uninitialized_copy()

test_uninitialized_copy::test_uninitialized_copy ( )
inline

Definition at line 36 of file test_algobase.cpp.

38 gTestController.SetCurrentTestName("uninitialized_copy()");
39 }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
@ kBufferSize

◆ ~test_uninitialized_copy()

test_uninitialized_copy::~test_uninitialized_copy ( )
inline

Definition at line 41 of file test_algobase.cpp.

41{ delete[] stuff; }

Member Function Documentation

◆ operator()()

void test_uninitialized_copy::operator() ( TestClass buffer) const
inline

Definition at line 43 of file test_algobase.cpp.

44 {
45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer );
46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) );
48 }
#define EH_ASSERT
Definition: Prefix.h:37
#define stl_destroy
Definition: Prefix.h:114
GLuint buffer
Definition: glext.h:5915

Member Data Documentation

◆ end_of_stuff

TestClass* test_uninitialized_copy::end_of_stuff
private

Definition at line 52 of file test_algobase.cpp.

Referenced by operator()().

◆ stuff

TestClass* test_uninitialized_copy::stuff
private

Definition at line 51 of file test_algobase.cpp.

Referenced by operator()(), and ~test_uninitialized_copy().


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