Merged revisions 42856-42881 via svnmerge from

https://svn.boost.org/svn/boost/branches/unordered/trunk

........
  r42880 | danieljames | 2008-01-20 16:10:43 +0000 (Sun, 20 Jan 2008) | 17 lines
  
  Simplify the tests a little:
  
  Add a parameter to random_values to control what sort of values it generates.
  This means that instead of using equivalent_object to test collisions (which
  was a total hack) we now just need another parameter.
  
  This requires some meta programming to act differently for maps and sets.
  Because of this pairs no longer need to be generated so remove the code for
  doing that (which doesn't work on some compilers).
  
  Remove the generator object, just call generate directly.
  
  Remove some of the tests using int containers, they didn't really add to
  anthing other than the compile time (some tests are timing out).
........


[SVN r42882]
This commit is contained in:
Daniel James
2008-01-20 18:55:57 +00:00
parent 68f5afc9be
commit b1ba0f65c8
13 changed files with 286 additions and 291 deletions

View File

@@ -32,6 +32,7 @@ namespace exception
class hash;
class equal_to;
template <class T> class allocator;
object generate(object const*);
class object
{