ReactOS 0.4.15-dev-7924-g5949c20
test_reserve Struct Reference

Public Member Functions

 test_reserve (size_t n)
 
void operator() (TestVector &v) const
 

Private Attributes

size_t fAmount
 

Detailed Description

Definition at line 50 of file test_vector.cpp.

Constructor & Destructor Documentation

◆ test_reserve()

test_reserve::test_reserve ( size_t  n)
inline

Definition at line 52 of file test_vector.cpp.

52 : fAmount(n) {
53 gTestController.SetCurrentTestName("vector::reserve()");
54 }
GLdouble n
Definition: glext.h:7729
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
size_t fAmount
Definition: test_vector.cpp:61

Member Function Documentation

◆ operator()()

void test_reserve::operator() ( TestVector v) const
inline

Definition at line 56 of file test_vector.cpp.

57 {
58 v.reserve( fAmount );
59 }
const GLdouble * v
Definition: gl.h:2040

Member Data Documentation

◆ fAmount

size_t test_reserve::fAmount
private

Definition at line 61 of file test_vector.cpp.

Referenced by operator()().


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