ReactOS 0.4.15-dev-7788-g1ad9096
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 GLint * first
Definition: glext.h:5794
static UINT UINT last
Definition: font.c:45
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
const T::value_type * fEnd
const T::value_type * fItems

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
102 }
EH_END_NAMESPACE void CheckInvariant(const C &)
Definition: LeakCheck.h:52
GLdouble GLdouble t
Definition: gl.h:2047
#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: