ReactOS  0.4.13-dev-259-g5ca9c9c
test_construct_pointer_range< T > Struct Template Reference

#include <test_construct.h>

Public Member Functions

 test_construct_pointer_range (const typename T::value_type *first, const typename T::value_type *last)
 
void operator() (int) const
 

Public Attributes

const T::value_type * fItems
 
const T::value_type * fEnd
 

Detailed Description

template<class T>
struct test_construct_pointer_range< T >

Definition at line 90 of file test_construct.h.

Constructor & Destructor Documentation

◆ test_construct_pointer_range()

template<class T >
test_construct_pointer_range< T >::test_construct_pointer_range ( const typename T::value_type *  first,
const typename T::value_type *  last 
)
inline

Definition at line 91 of file test_construct.h.

93  : fItems( first ), fEnd( last ) {
94  gTestController.SetCurrentTestName("pointer range constructor");
95  }
const T::value_type * fItems
POINT last
Definition: font.c:46
TestController gTestController
Definition: nc_alloc.cpp:46
const GLint * first
Definition: glext.h:5794
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
const T::value_type * fEnd

Member Function Documentation

◆ operator()()

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

Definition at line 97 of file test_construct.h.

97  {
98  T t( fItems, fEnd );
99  // Prevent simulated failures during verification
101  CheckInvariant(t);
102  }
const T::value_type * fItems
TestController gTestController
Definition: nc_alloc.cpp:46
GLdouble GLdouble t
Definition: gl.h:2047
EH_END_NAMESPACE void CheckInvariant(const C &)
Definition: LeakCheck.h:52
const T::value_type * fEnd
#define T
Definition: mbstring.h:31
static void CancelFailureCountdown()
Definition: nc_alloc.h:143

Member Data Documentation

◆ fEnd

template<class T >
const T::value_type * test_construct_pointer_range< T >::fEnd

Definition at line 104 of file test_construct.h.

Referenced by test_construct_pointer_range< T >::operator()().

◆ fItems

template<class T >
const T::value_type* test_construct_pointer_range< T >::fItems

Definition at line 104 of file test_construct.h.

Referenced by test_construct_pointer_range< T >::operator()().


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