ReactOS  0.4.15-dev-3297-g037c744
test_construct_n< T > Struct Template Reference

#include <test_construct.h>

Public Member Functions

 test_construct_n (size_t _n)
 
void operator() (int) const
 

Public Attributes

size_t n
 

Detailed Description

template<class T>
struct test_construct_n< T >

Definition at line 60 of file test_construct.h.

Constructor & Destructor Documentation

◆ test_construct_n()

template<class T >
test_construct_n< T >::test_construct_n ( size_t  _n)
inline

Definition at line 61 of file test_construct.h.

61  : n(_n+1) {
62  gTestController.SetCurrentTestName("n-size constructor");
63  }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172

Member Function Documentation

◆ operator()()

template<class T >
void test_construct_n< T >::operator() ( int  ) const
inline

Definition at line 65 of file test_construct.h.

65  {
66  T t(n);
68  }
GLdouble n
Definition: glext.h:7729
GLdouble GLdouble t
Definition: gl.h:2047
EH_END_NAMESPACE void CheckInvariant(const C &)
Definition: LeakCheck.h:52
#define T
Definition: mbstring.h:31

Member Data Documentation

◆ n

template<class T >
size_t test_construct_n< T >::n

Definition at line 70 of file test_construct.h.


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