ReactOS  0.4.15-dev-5618-g8866b9d
test_construct_n_instance< T > Struct Template Reference

#include <test_construct.h>

Public Member Functions

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

Public Attributes

size_t n

Detailed Description

template<class T>
struct test_construct_n_instance< T >

Definition at line 74 of file test_construct.h.

Constructor & Destructor Documentation

◆ test_construct_n_instance()

template<class T >
test_construct_n_instance< T >::test_construct_n_instance ( size_t  _n)

Definition at line 75 of file test_construct.h.

75  : n(_n+1) {
76  gTestController.SetCurrentTestName("n-size with instance constructor");
77  }
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_instance< T >::operator() ( int  ) const

Definition at line 79 of file test_construct.h.

79  {
80  typedef typename T::value_type Value_type;
81  Value_type Val = 0;
82  T t( n, Val );
84  }
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_instance< T >::n

Definition at line 86 of file test_construct.h.

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