ReactOS  0.4.15-dev-4934-gfd1e799
test_insert_noresize< C > Struct Template Reference

#include <test_insert.h>

Collaboration diagram for test_insert_noresize< C >:

Public Member Functions

 test_insert_noresize (const C &orig)
void operator() (C &c) const

Private Attributes

C::value_type fInsVal
const Coriginal

Detailed Description

template<class C>
struct test_insert_noresize< C >

Definition at line 427 of file test_insert.h.

Constructor & Destructor Documentation

◆ test_insert_noresize()

template<class C >
test_insert_noresize< C >::test_insert_noresize ( const C orig)

Definition at line 429 of file test_insert.h.

430  : original( orig )
431  {
433  gTestController.SetCurrentTestName("insertion of random value without resize");
434  }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
C::value_type fInsVal
Definition: test_insert.h:446
void MakeRandomValue(bool &b)
Definition: test_insert.h:322

Member Function Documentation

◆ operator()()

template<class C >
void test_insert_noresize< C >::operator() ( C c) const

Definition at line 436 of file test_insert.h.

437  {
438  c.insert_noresize( fInsVal );
440  // Prevent simulated failures during verification
442  // Success. Check results.
443  VerifyInsertion( original, c, &fInsVal, 1+&fInsVal, size_t(0) );
444  }
TestController gTestController
Definition: nc_alloc.cpp:46
void VerifyInsertion(const C &original, const C &result, const SrcIter &firstNew, const SrcIter &lastNew, size_t, associative_container_tag)
Definition: test_insert.h:165
const GLubyte * c
Definition: glext.h:8905
C::value_type fInsVal
Definition: test_insert.h:446
static void CancelFailureCountdown()
Definition: nc_alloc.h:143

Member Data Documentation

◆ fInsVal

template<class C >
C::value_type test_insert_noresize< C >::fInsVal

◆ original

template<class C >
const C& test_insert_noresize< C >::original

Definition at line 447 of file test_insert.h.

Referenced by test_insert_noresize< C >::operator()().

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