ReactOS 0.4.15-dev-8100-g1887773
test_stable_sort_1 Struct Reference
Collaboration diagram for test_stable_sort_1:

Public Member Functions

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

Private Attributes

const SortBufferorig
 

Detailed Description

Definition at line 179 of file test_algo.cpp.

Constructor & Destructor Documentation

◆ test_stable_sort_1()

test_stable_sort_1::test_stable_sort_1 ( const SortBuffer buf)
inline

Definition at line 181 of file test_algo.cpp.

182 : orig( buf ) {
183 gTestController.SetCurrentTestName("stable_sort() #1");
184 }
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:193

Member Function Documentation

◆ operator()()

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

Definition at line 186 of file test_algo.cpp.

187 {
188 EH_STD::stable_sort( buf.begin(), buf.end() );
190 }
void assert_sorted_version(const SortBuffer &orig, const SortBuffer &buf)
Definition: test_algo.cpp:146

Member Data Documentation

◆ orig

const SortBuffer& test_stable_sort_1::orig
private

Definition at line 193 of file test_algo.cpp.

Referenced by operator()().


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