ReactOS  0.4.15-dev-3303-g1ade494
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)
inline

Definition at line 215 of file test_algo.cpp.

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

Member Function Documentation

◆ operator()()

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

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  }
const SortBuffer & orig
Definition: test_algo.cpp:227
_STLP_MOVE_TO_STD_NAMESPACE void inplace_merge(_BidirectionalIter __first, _BidirectionalIter __middle, _BidirectionalIter __last)
Definition: _algo.c:1553
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
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
private

Definition at line 227 of file test_algo.cpp.

Referenced by operator()().


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