Daniel James
1357e13c45
Add tests against Peter's spec.
...
[SVN r28281]
2005-04-16 16:56:27 +00:00
Daniel James
3bb76776e6
Overload hash_value for non-constant arrays.
...
[SVN r28276]
2005-04-16 10:32:29 +00:00
Daniel James
86d76f397d
Add a test for hash_value called with an array. hash_value tests for other
...
types will be added to their normal tests.
[SVN r28275]
2005-04-16 10:31:20 +00:00
Daniel James
c62d82ea29
Use non-const references on Visual C++ 6.5 to work around a bug with array references.
...
On Borland add a pointer overload of hash_range to use instead of the array workaround that I checked in earlier today.
Fix the array size calculation for compilers with function template ordering.
[SVN r28228]
2005-04-13 22:56:43 +00:00
Daniel James
59efa07c7c
Borland workaround for hashing arrays.
...
[SVN r28226]
2005-04-13 20:24:50 +00:00
Vladimir Prus
b14f51e0f3
Move functional/hash out of status/Jamfile, not that process_jam_logs
...
is not so easily confusable about library names.
[SVN r28207]
2005-04-13 08:57:38 +00:00
Daniel James
e9a52eb259
Remove the forced fail in the hash float tests on Borland, since the bug should now be fixed.
...
[SVN r28187]
2005-04-12 20:25:15 +00:00
Daniel James
b1def5cf1d
Deal with NaN & infinity in the hash float function on Broland.
...
[SVN r28186]
2005-04-12 20:23:09 +00:00
Daniel James
a2cec1b71c
Add some hash examples.
...
[SVN r28139]
2005-04-11 22:26:01 +00:00
Daniel James
952d73da6b
Setup hash float function config for Tru64 on alpha and add some comments on
...
the different libraries & compilers.
[SVN r28138]
2005-04-11 22:20:33 +00:00
Daniel James
ca202ee142
Make the float hash tests a tad bit more informative.
...
[SVN r28137]
2005-04-11 22:14:26 +00:00
Daniel James
2994fdf56c
Add the hash documentation.
...
[SVN r28135]
2005-04-11 22:07:45 +00:00
Daniel James
a5012dfc7c
Better version of the built in array hash function.
...
[SVN r28089]
2005-04-10 20:07:50 +00:00
Daniel James
8bebf347fa
Remove the empty array hash function test.
...
[SVN r28088]
2005-04-10 19:21:38 +00:00
Daniel James
e5a62d1cf4
Drop the empty array test.
...
[SVN r28087]
2005-04-10 19:19:59 +00:00
Daniel James
02e120c774
Add the unit tests for hashing built in arrays.
...
[SVN r28079]
2005-04-10 12:38:58 +00:00
Daniel James
4727f1070a
Implement hash functions for built-in arrays. Uses partial specialization
...
instead of function overloading - which disobeys the specification of
the extension (hash_combine is defined in terms of hash_value, but hash_value
doesn't deal with every case now).
[SVN r28078]
2005-04-10 12:36:24 +00:00
Daniel James
bc0f34d32d
Use static assert instead of mpl assert in the hash tests, as it's more
...
portable.
[SVN r28068]
2005-04-09 09:30:27 +00:00
Daniel James
640bdf7f9c
Use the named variants of the float functions for stlport on gcc-2.95.
...
[SVN r28067]
2005-04-09 09:27:20 +00:00
Daniel James
f102d684cf
Implement the compile time checks for hash functions as a function instead of a templated class. Hopefully it will work on more compilers.
...
[SVN r28053]
2005-04-07 22:14:02 +00:00
Daniel James
2000b1aed8
Change tests so they can be used to test implementations of TR1 (maybe, eventually).
...
[SVN r28052]
2005-04-07 21:57:22 +00:00
Daniel James
427b07ac6e
Remove the Boost.Range overloads of hash_range.
...
[SVN r28051]
2005-04-07 21:08:58 +00:00
Daniel James
37e2c9b8c4
Removes hash_range_test.cpp's dependency on Boost.Range, which isn't currently working on Borland.
...
[SVN r28050]
2005-04-07 21:07:14 +00:00
Daniel James
3cf2a5f88a
Removes uses of BOOST_CHECK_EQUAL from the hash tests as they don't work on Borland.
...
Also force a failure on the float tests on borland as they are crashing horribly. Hopefully I should be able to fix this and remove this.
Also use pair's constructor in hash_map_test.hpp instead of make_pair so that the correct type is created.
[SVN r28049]
2005-04-07 20:53:20 +00:00
Daniel James
72454e373e
Change the hash float config for Rogue Wave so that it only applies to Borland,
...
as it seems to be wrong on SunPro.
[SVN r28029]
2005-04-06 22:52:25 +00:00
Daniel James
fcbbe94b41
Fix a bug in the float hash test - checking that infinity & -infinity hash to
...
the same value. The hash function is actually working better on the compilers
that were failing this test.
[SVN r28028]
2005-04-06 22:27:45 +00:00
Daniel James
22aa3748c0
Fix the 'DEPENDS all' line in the hash test Jamfile.
...
[SVN r27956]
2005-04-04 16:54:22 +00:00
Daniel James
4a62e1a35f
Rename test suite to functional/hash
...
[SVN r27920]
2005-04-02 00:03:17 +00:00
Daniel James
1fbb7f83d2
Stop using Boost.Assign in tests as it currently doesn't work on all the compilers I want to support. A pity, but I was already making very limited use of it because of older compilers.
...
[SVN r27917]
2005-04-01 22:50:26 +00:00
Daniel James
5274643417
Stop using 'std::denorm_present' as on many compilers it isn't present itself.
...
[SVN r27916]
2005-04-01 22:49:19 +00:00
Daniel James
8c0b7d567e
Fully specify custom's namespace for when the ADL workaround is used.
...
[SVN r27915]
2005-04-01 22:47:36 +00:00
Daniel James
2160ce6891
Include config files before any other header to prevent Visual C++ 6 warnings.
...
Remove Boost.Range support when there are no const volatile specializations, as it currently requires them to compile. Hopefully this will be changed back in the future.
[SVN r27914]
2005-04-01 22:38:39 +00:00
Daniel James
1d60a30e0c
Add the boost::hash unit tests.
...
[SVN r27903]
2005-04-01 16:58:09 +00:00
Daniel James
f97df4faab
Initial import of hash function headers - so that they can be used by
...
Boost.MultiIndex.
[SVN r27819]
2005-03-27 22:58:52 +00:00
Aleksey Gurtovoy
3d846c505b
c++boost.gif -> boost.png replacement
...
[SVN r25573]
2004-10-05 15:45:52 +00:00
Beman Dawes
240f068069
add or update See www.boost.org comments
...
[SVN r16708]
2002-12-27 16:51:53 +00:00
John Maddock
3ad2408d42
Intel C++ fixes: no void return types supported.
...
[SVN r11199]
2001-09-22 11:52:24 +00:00
Mark Rodgers
0fad7f1538
Fix the non-standard behaviour when not1, etc called with a function that was identified by Jens Maurer using Comeau C++.
...
[SVN r8292]
2000-11-22 09:04:28 +00:00
Beman Dawes
87ebd5808b
libraries.htm and people.htm moved to sub-directories to make root directory cleaner.
...
[SVN r8166]
2000-11-10 15:39:05 +00:00
Mark Rodgers
baa020be4a
Workarounds for Metrowerks as suggested by Fabrice Truillot.
...
[SVN r7672]
2000-08-01 07:53:58 +00:00
Beman Dawes
ef9aed3599
Initial HTML commit
...
[SVN r7636]
2000-07-27 14:04:40 +00:00
Beman Dawes
c9fe13ddca
This commit was generated by cvs2svn to compensate for changes in r4,
...
which included commits to RCS files with non-trunk default branches.
[SVN r7621]
2000-07-07 16:04:40 +00:00