ReactOS 0.4.15-dev-7788-g1ad9096
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()

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
inline

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 }
EH_END_NAMESPACE void CheckInvariant(const C &)
Definition: LeakCheck.h:52
GLdouble GLdouble t
Definition: gl.h:2047
GLdouble n
Definition: glext.h:7729
#define T
Definition: mbstring.h:31

Member Data Documentation

◆ n

Definition at line 86 of file test_construct.h.


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