Daniel James
4bee159a10
Change the hash tests to use the lightweight test header.
...
[SVN r32784]
2006-02-09 19:16:08 +00:00
Daniel James
514757c312
Hold your nose, it's a Visual C++ 6.5 workaround. For some reason it requires
...
boost::hash to define operator() taking const and non-const arguments.
[SVN r32783]
2006-02-09 19:11:54 +00:00
Daniel James
1cf74208aa
Use fpclassify/_fpclass for the hash function on compilers where I
...
know it's available.
[SVN r32782]
2006-02-09 19:11:09 +00:00
Daniel James
1d5bfbcc9c
Since all the hash functions are now declared in a single header, there's no
...
need for the call_hash hack on compliant compilers. So only use it on
compilers where it's needed.
[SVN r32781]
2006-02-09 19:10:03 +00:00
Daniel James
5a5bbbf403
Make hash_float.hpp use its own combine function. This serves two purposes:
...
1. hash_float is no longer dependent on the main hash header.
2. hash_float(0) == 0 which makes it easier to implement hash<complex>(),
although this might lead to users assuming that it can be expected even though
it isn't part of the documented interface.
[SVN r32780]
2006-02-09 19:07:33 +00:00
Daniel James
50011103a4
Update the hash tests for the new headers.
...
[SVN r32779]
2006-02-09 19:01:33 +00:00
Daniel James
19564252b4
Move all the boost/functional/hash/*.hpp files into a single file
...
(hash/hash.hpp for now, but will eventually move into hash.hpp), add warnings
that the old headers are deprecated.
[SVN r32778]
2006-02-09 18:57:07 +00:00
Daniel James
b2be632311
Move include errorno & limits from hash.hpp into hash_float where they should be.
...
[SVN r32777]
2006-02-09 18:55:35 +00:00
Daniel James
003ec473b6
Add the missing test.
...
[SVN r32776]
2006-02-09 18:43:55 +00:00
Vladimir Prus
c6f5970551
Comment out refereces to absent file
...
[SVN r32772]
2006-02-09 14:12:19 +00:00
Daniel James
a7d8c36057
Update the portable example to hopefully be more generally portable.
...
Change hash_fwd_test to avoid a Borland bug, add 'hash_friend_test' to test for it.
Fix a typo in hash_fwd_test.
[SVN r32747]
2006-02-08 19:03:09 +00:00
Daniel James
e09e3f1e06
In hash_fwd_test avoid a Borland bug by putting the test classes in a namespace.
...
Seems to break on gcc 2.95 though...
Also use HASH_NAMESPACE instead of boost to allow tests to be run in 'std'.
[SVN r32686]
2006-02-07 00:48:58 +00:00
Daniel James
691437839e
Add an extra test for a Borland bug I found.
...
[SVN r32685]
2006-02-07 00:45:32 +00:00
Daniel James
d8328a403c
Attempt to get container_fwd.hpp working on more compilers.
...
[SVN r32684]
2006-02-07 00:43:06 +00:00
Daniel James
946a362d56
In hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated.
...
[SVN r32595]
2006-02-05 19:54:08 +00:00
Daniel James
81483cc533
Move the float hash function into its own header.
...
[SVN r32594]
2006-02-05 19:51:29 +00:00
Daniel James
b922722090
Use BOOST_WORKAROUND in boost/functional/hash/hash.hpp
...
[SVN r32589]
2006-02-05 16:31:45 +00:00
Daniel James
da55a4fcca
Use hash_fwd.hpp in the main hash header.
...
[SVN r32588]
2006-02-05 16:27:19 +00:00
Daniel James
e78d662c7a
Add tests for the hash forward header.
...
[SVN r32587]
2006-02-05 16:06:31 +00:00
Daniel James
1f2c6bfaba
Add a forward header for the hash functions.
...
[SVN r32586]
2006-02-05 16:03:43 +00:00
Daniel James
79b5aa7a2e
Fix a parse error in the hash test Jamfile.
...
[SVN r32585]
2006-02-05 15:56:47 +00:00
Daniel James
ed548575d4
Use container_fwd.hpp for the hash functions.
...
[SVN r32583]
2006-02-05 14:44:24 +00:00
Daniel James
af88f13aca
Add pair to container_fwd_test.
...
[SVN r32582]
2006-02-05 14:11:59 +00:00
Daniel James
1ff1366c5e
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
a5d18ba409
Add copyright to container_fwd_test.
...
[SVN r32580]
2006-02-05 14:02:28 +00:00
Daniel James
f9a050b68e
Make the functions static in container_fwd_test.
...
[SVN r32579]
2006-02-05 14:00:23 +00:00
Daniel James
a9144ed80b
Add a missing include to a functional/hash test header.
...
[SVN r32578]
2006-02-05 13:59:03 +00:00
Daniel James
4ed4e4760b
Tidy up functional/hash's Jamfile a little.
...
[SVN r32577]
2006-02-05 13:58:06 +00:00
Daniel James
332201e5c8
Change container_fwd.hpp to cooperate with gcc stdlib++'s debug mode.
...
[SVN r32081]
2005-12-16 19:14:16 +00:00
Daniel James
e225ed8f14
Fix a build error in the hash tests.
...
[SVN r32060]
2005-12-15 18:00:47 +00:00
Daniel James
11170a916b
Quick & dirty update of hash tests for new version of Boost.Test
...
[SVN r32056]
2005-12-15 00:27:53 +00:00
Daniel James
26f4b6cd55
More epsilon hash float tests.
...
[SVN r32055]
2005-12-15 00:22:00 +00:00
Daniel James
6f61ab5b0b
Fix clumsy mistakes in the epsilon hash test.
...
[SVN r31908]
2005-12-04 20:08:10 +00:00
Daniel James
1ec297d8d4
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
906b14102d
Return 0 from test, for the benefit of Visual C++ 6.
...
[SVN r31202]
2005-10-05 20:52:00 +00:00
Daniel James
803b01c8c8
Add test for char_traits in container_fwd.hpp
...
[SVN r31134]
2005-09-27 19:46:04 +00:00
Daniel James
016766fdec
Add char_traits support to the container_fwd header.
...
[SVN r31133]
2005-09-27 19:45:04 +00:00
Daniel James
b70f0b3aab
Add tests for container_fwd to hash tests.
...
[SVN r31044]
2005-09-19 20:39:57 +00:00
Daniel James
bb16ae385a
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
f5cbe3661c
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
9158f88562
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
Daniel James
eb20117301
Return 0 from int main() in the hash examples.
...
[SVN r30633]
2005-08-22 19:16:47 +00:00
Daniel James
379105280f
Change the hash-test rule to work with multiple source files.
...
[SVN r30615]
2005-08-21 14:54:52 +00:00
Daniel James
1df9014b94
Add hash examples to the unit tests.
...
[SVN r30612]
2005-08-21 11:40:06 +00:00
Daniel James
30bc59df59
Add Jamfiles for testing hash examples.
...
[SVN r30611]
2005-08-21 11:22:29 +00:00
Daniel James
b2c5ed9adf
Merge in fix to hash example/documentation from 1.33 branch.
...
[SVN r30610]
2005-08-20 20:44:23 +00:00
Daniel James
9a63dd6667
Revert a mistake in the previous commit of the hash documentation.
...
[SVN r30477]
2005-08-04 22:44:34 +00:00
Daniel James
5e713acaef
Update hash links page to more recent versions of the papers.
...
[SVN r30476]
2005-08-04 22:39:41 +00:00
Daniel James
bc9ab80b9f
Fix broken link in hash documentation source.
...
[SVN r30475]
2005-08-04 22:16:22 +00:00
Daniel James
dedb3ba27b
Fixed some of the include statements in the documentation.
...
[SVN r30464]
2005-08-04 17:39:42 +00:00