ReactOS  0.4.15-dev-3331-g8ebe441
test_inplace_merge_2 Struct Reference
Collaboration diagram for test_inplace_merge_2:

Public Member Functions

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

Private Attributes

const SortBufferorig
 

Detailed Description

Definition at line 230 of file test_algo.cpp.

Constructor & Destructor Documentation

◆ test_inplace_merge_2()

test_inplace_merge_2::test_inplace_merge_2 ( SortBuffer buf)
inline

Definition at line 232 of file test_algo.cpp.

233  : orig( buf ) {
234  gTestController.SetCurrentTestName("inplace_merge() #2");
235  }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
const SortBuffer & orig
Definition: test_algo.cpp:245

Member Function Documentation

◆ operator()()

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

Definition at line 237 of file test_algo.cpp.

238  {
239  EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end(),
240  EH_STD::less<SortClass>() );
242  }
_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
const SortBuffer & orig
Definition: test_algo.cpp:245

Member Data Documentation

◆ orig

const SortBuffer& test_inplace_merge_2::orig
private

Definition at line 245 of file test_algo.cpp.

Referenced by operator()().


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