ReactOS 0.4.16-dev-88-ga65b6ae
test_stable_sort_2 Struct Reference
Collaboration diagram for test_stable_sort_2:

Public Member Functions

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

Private Attributes

const SortBufferorig
 

Detailed Description

Definition at line 196 of file test_algo.cpp.

Constructor & Destructor Documentation

◆ test_stable_sort_2()

test_stable_sort_2::test_stable_sort_2 ( const SortBuffer buf)
inline

Definition at line 198 of file test_algo.cpp.

199 : orig( buf ) {
200 gTestController.SetCurrentTestName("stable_sort() #2");
201 }
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:210

Member Function Documentation

◆ operator()()

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

Definition at line 203 of file test_algo.cpp.

204 {
205 EH_STD::stable_sort( buf.begin(), buf.end(), EH_STD::less<SortClass>() );
207 }
void assert_sorted_version(const SortBuffer &orig, const SortBuffer &buf)
Definition: test_algo.cpp:146

Member Data Documentation

◆ orig

const SortBuffer& test_stable_sort_2::orig
private

Definition at line 210 of file test_algo.cpp.

Referenced by operator()().


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