Commit Graph

692 Commits

Author SHA1 Message Date
Daniel James
38172001e5 Add std::pair, and a GCC 2.95 workaround to container_fwd.hpp
[SVN r32581]
2006-02-05 14:04:56 +00:00
Daniel James
0742484087 Add copyright to container_fwd_test.
[SVN r32580]
2006-02-05 14:02:28 +00:00
Daniel James
6d33feebb7 Make the functions static in container_fwd_test.
[SVN r32579]
2006-02-05 14:00:23 +00:00
Daniel James
3bcc03eb7d Add a missing include to a functional/hash test header.
[SVN r32578]
2006-02-05 13:59:03 +00:00
Daniel James
a64d2ba248 Tidy up functional/hash's Jamfile a little.
[SVN r32577]
2006-02-05 13:58:06 +00:00
Daniel James
66fa4c867b Change container_fwd.hpp to cooperate with gcc stdlib++'s debug mode.
[SVN r32081]
2005-12-16 19:14:16 +00:00
Daniel James
d3e29d33d0 Fix a build error in the hash tests.
[SVN r32060]
2005-12-15 18:00:47 +00:00
Daniel James
985edc9e9c Quick & dirty update of hash tests for new version of Boost.Test
[SVN r32056]
2005-12-15 00:27:53 +00:00
Daniel James
dd76eb37ed More epsilon hash float tests.
[SVN r32055]
2005-12-15 00:22:00 +00:00
Daniel James
efc6c13cd5 Fix clumsy mistakes in the epsilon hash test.
[SVN r31908]
2005-12-04 20:08:10 +00:00
Daniel James
f14a00699c Test for hashing 1+epsilon, following recent boost-dev comments on Darwin
gcc-4.0's long double.


[SVN r31907]
2005-12-04 20:02:08 +00:00
Daniel James
96916fefda Return 0 from test, for the benefit of Visual C++ 6.
[SVN r31202]
2005-10-05 20:52:00 +00:00
Daniel James
991164a3bb Add test for char_traits in container_fwd.hpp
[SVN r31134]
2005-09-27 19:46:04 +00:00
Daniel James
4cad065b0e Add char_traits support to the container_fwd header.
[SVN r31133]
2005-09-27 19:45:04 +00:00
Daniel James
aa137615ec Add tests for container_fwd to hash tests.
[SVN r31044]
2005-09-19 20:39:57 +00:00
Daniel James
5c61c91b36 Add STL forward declarations for the hash library (just for testing, not in use yet)
[SVN r31043]
2005-09-19 20:29:51 +00:00
Daniel James
4f268b098f Merge in Markus' workaround for Tru64/CXX std::numeric_limits::denorm_min() bug
from RC_1_33_0.


[SVN r31042]
2005-09-19 18:25:30 +00:00
John Maddock
328909eeb9 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Daniel James
69a9aba270 Return 0 from int main() in the hash examples.
[SVN r30633]
2005-08-22 19:16:47 +00:00
Daniel James
59890d4588 Change the hash-test rule to work with multiple source files.
[SVN r30615]
2005-08-21 14:54:52 +00:00
Daniel James
2c7e98bec0 Add hash examples to the unit tests.
[SVN r30612]
2005-08-21 11:40:06 +00:00
Daniel James
abce4ebf57 Add Jamfiles for testing hash examples.
[SVN r30611]
2005-08-21 11:22:29 +00:00
Daniel James
d3c183186b Merge in fix to hash example/documentation from 1.33 branch.
[SVN r30610]
2005-08-20 20:44:23 +00:00
Daniel James
fcf0fb6ebb Revert a mistake in the previous commit of the hash documentation.
[SVN r30477]
2005-08-04 22:44:34 +00:00
Daniel James
0896ca794b Update hash links page to more recent versions of the papers.
[SVN r30476]
2005-08-04 22:39:41 +00:00
Daniel James
9353d3e783 Fix broken link in hash documentation source.
[SVN r30475]
2005-08-04 22:16:22 +00:00
Daniel James
d45e9a26f0 Fixed some of the include statements in the documentation.
[SVN r30464]
2005-08-04 17:39:42 +00:00
Daniel James
0c3a28a294 Add tests for linking two object files that include the hash libraries.
[SVN r29710]
2005-06-20 21:45:54 +00:00
Daniel James
b96ed7b984 Check errno after calling frexp - this is pretty slow and unecessary on most platforms, but this close to release it seems better to be over cautious.
[SVN r29255]
2005-05-28 12:10:33 +00:00
Daniel James
85593ea401 Initialise the exponent before calling frexp in the hash float function.
[SVN r29200]
2005-05-26 07:36:26 +00:00
Daniel James
1b1f076054 Fix a typo in hash_float_test.
[SVN r29120]
2005-05-21 17:15:10 +00:00
Daniel James
9afcdb022b Tweak the hash tests a bit more.
[SVN r29119]
2005-05-21 17:10:39 +00:00
Daniel James
c06e85147c Write a better error message when the denormalised minimum float hash test
fails.


[SVN r29118]
2005-05-21 16:46:53 +00:00
Daniel James
bfd5380e3c Try to make sure that the different functions in hash_function_pointer_test
really are different.


[SVN r28833]
2005-05-11 21:32:17 +00:00
Daniel James
097560f27b Try to fix the failing denorm_min hash_value test by explicitly casting the
result of denorm_min() (I think it might be returning the wrong type).


[SVN r28553]
2005-05-01 13:43:56 +00:00
Daniel James
1564e9c767 Change the description of functional/hash.
[SVN r28436]
2005-04-23 13:07:27 +00:00
Daniel James
a461b5b1c7 Add some links to the hash documentation, acknowledgements for the review,
fixed some errors.


[SVN r28427]
2005-04-22 22:08:49 +00:00
Daniel James
90b21239b4 Fix a clumsy mistake in hash_float_test
[SVN r28402]
2005-04-22 06:37:41 +00:00
Daniel James
65ece8bac0 Change hash_custom_test to have a cleaner implementation (along the lines of
Peter Dimov's suggestion) and to only include the hash headers after declaring
the class.


[SVN r28394]
2005-04-21 23:43:51 +00:00
Daniel James
b9f6765d15 Change hash_float_test to write out some false failures instead of failing.
[SVN r28393]
2005-04-21 23:41:12 +00:00
Daniel James
638ca2658f Another attempt at getting the hash array tests to pass on Borland.
[SVN r28390]
2005-04-21 22:20:43 +00:00
Daniel James
8dc87153e9 Split the hash pointer tests into tests for normal pointers and function pointers, as function pointers fail on old versions of Visual C++, and add a note about this to the hash documentaion.
[SVN r28389]
2005-04-21 22:18:38 +00:00
Daniel James
8da0e01046 Update hash documentation:
Rename to Boost.Functional/Hash. Add some extra details to the library header.
Use macros to link functions & classes.
Add a note about a couple of portability issues.


[SVN r28373]
2005-04-21 08:44:14 +00:00
Daniel James
c121440840 Various changes to the hash documentation including:
- Updated for splitting the books example into books.hpp & books.cpp
- Added the array overloads of hash_value, and the new signature for pointers.
- Split up the overloads of hash_value in boost/hash/hash.hpp.


[SVN r28341]
2005-04-20 15:16:29 +00:00
Daniel James
b2a365c644 Change the books hash example to have a separate header.
[SVN r28340]
2005-04-20 15:02:00 +00:00
Daniel James
ed5dd8be7e Add redirect for the hash documentation.
[SVN r28339]
2005-04-20 14:58:43 +00:00
Daniel James
469df369fd Change the NaN hash test to a warning.
[SVN r28318]
2005-04-18 17:16:02 +00:00
Daniel James
b4679091a2 Don't bother testing the hash functions with infinity and NaN on borland. Remove a few pointless lines from hash_value_array_test.
[SVN r28287]
2005-04-17 09:12:01 +00:00
Daniel James
685cd00a7b Another fix for the Borland hash array code, and get rid of my attempt at working around Borland problems with infinity and NaN in the hash float functions. It seems impossible to do anything with them.
[SVN r28286]
2005-04-17 09:09:42 +00:00
Daniel James
1db2d3a822 Remove workaround for bug in gcc 4.0 which appears to have been fixed.
[SVN r28282]
2005-04-16 16:59:30 +00:00