ReactOS  0.4.15-dev-3324-gda4e15f
test_hash_resize< T > Struct Template Reference

#include <test_hash_resize.h>

Public Member Functions

 test_hash_resize ()
void operator() (T &t) const

Detailed Description

template<class T>
struct test_hash_resize< T >

Definition at line 23 of file test_hash_resize.h.

Constructor & Destructor Documentation

◆ test_hash_resize()

template<class T >
test_hash_resize< T >::test_hash_resize ( )

Definition at line 25 of file test_hash_resize.h.

26  {
27  gTestController.SetCurrentTestName("hash resize");
28  }
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_hash_resize< T >::operator() ( T t) const

Definition at line 30 of file test_hash_resize.h.

31  {
32  t.resize( 1+random_number(random_base) + t.bucket_count() );
33  }
GLdouble GLdouble t
Definition: gl.h:2047
unsigned random_base
unsigned random_number(size_t range)

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