ReactOS 0.4.15-dev-7788-g1ad9096
test_construct_iter_range< T > Struct Template Reference

#include <test_construct.h>

Public Member Functions

 test_construct_iter_range (const T &src)
 
void operator() (int) const
 

Public Attributes

const TfItems
 

Detailed Description

template<class T>
struct test_construct_iter_range< T >

Definition at line 108 of file test_construct.h.

Constructor & Destructor Documentation

◆ test_construct_iter_range()

Definition at line 110 of file test_construct.h.

110 : fItems( src ) {
111 gTestController.SetCurrentTestName("iterator range constructor");
112 }
GLenum src
Definition: glext.h:6340
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_iter_range< T >::operator() ( int  ) const
inline

Definition at line 114 of file test_construct.h.

114 {
115 T t( fItems.begin(), fItems.end() );
116 // Prevent simulated failures during verification
118 EH_ASSERT( t == fItems );
120 }
EH_END_NAMESPACE void CheckInvariant(const C &)
Definition: LeakCheck.h:52
#define EH_ASSERT
Definition: Prefix.h:37
GLdouble GLdouble t
Definition: gl.h:2047
#define T
Definition: mbstring.h:31
static void CancelFailureCountdown()
Definition: nc_alloc.h:143

Member Data Documentation

◆ fItems

template<class T >
const T& test_construct_iter_range< T >::fItems

Definition at line 122 of file test_construct.h.

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


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