ReactOS 0.4.15-dev-8222-g9164419
test_inplace_merge_1 Struct Reference
Collaboration diagram for test_inplace_merge_1:

Public Member Functions

 test_inplace_merge_1 (SortBuffer &buf)
void operator() (SortBuffer &buf) const

Private Attributes

const SortBufferorig

Detailed Description

Definition at line 213 of file test_algo.cpp.

Constructor & Destructor Documentation

◆ test_inplace_merge_1()

test_inplace_merge_1::test_inplace_merge_1 ( SortBuffer buf)

Definition at line 215 of file test_algo.cpp.

216 : orig( buf ) {
217 gTestController.SetCurrentTestName("inplace_merge #1()");
218 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
const SortBuffer & orig
Definition: test_algo.cpp:227

Member Function Documentation

◆ operator()()

void test_inplace_merge_1::operator() ( SortBuffer buf) const

Definition at line 220 of file test_algo.cpp.

221 {
222 EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end() );
224 }
void assert_sorted_version(const SortBuffer &orig, const SortBuffer &buf)
Definition: test_algo.cpp:146

Member Data Documentation

◆ orig

const SortBuffer& test_inplace_merge_1::orig

Definition at line 227 of file test_algo.cpp.

Referenced by operator()().

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