mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-10 07:34:00 +00:00
34 lines
816 B
C++
34 lines
816 B
C++
|
|
// Copyright 2006-2009 Daniel James.
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#if !defined(BOOST_UNORDERED_TEST_HELPERS_FWD_HEADER)
|
|
#define BOOST_UNORDERED_TEST_HELPERS_FWD_HEADER
|
|
|
|
#include <string>
|
|
|
|
namespace test {
|
|
typedef enum {
|
|
default_generator,
|
|
generate_collisions,
|
|
limited_range,
|
|
sequential
|
|
} random_generator;
|
|
|
|
int generate(int const*, random_generator);
|
|
char generate(char const*, random_generator);
|
|
signed char generate(signed char const*, random_generator);
|
|
std::string generate(std::string const*, random_generator);
|
|
float generate(float const*, random_generator);
|
|
|
|
struct base_type
|
|
{
|
|
} base;
|
|
struct derived_type : base_type
|
|
{
|
|
} derived;
|
|
}
|
|
|
|
#endif
|