Daniel James
77ac0f4198
Rearrange the results table in the hash_value docs. Hopefully this will be clearer.
...
[SVN r33568]
2006-04-06 19:55:06 +00:00
Daniel James
e1c1fc681d
Merge hash documentation changes to release branch.
...
[SVN r33509]
2006-03-28 17:05:43 +00:00
Daniel James
6caa46edab
Put the reference documentation overloads of 'hash_value' into a single page.
...
[SVN r33508]
2006-03-28 17:02:49 +00:00
Daniel James
c81a6bee4e
Fix typo in the hash tutorial.
...
[SVN r33507]
2006-03-28 16:46:49 +00:00
Daniel James
e592b7f057
Update the copyright comments in the hash headers.
...
[SVN r33370]
2006-03-18 15:54:53 +00:00
Daniel James
da8405cb69
Update the copyright comments in the hash tests and documentation.
...
[SVN r33369]
2006-03-18 15:49:21 +00:00
Daniel James
39570c232c
Improve the 'blurbs' in the hash documentation.
...
[SVN r33344]
2006-03-14 22:42:52 +00:00
Daniel James
7770a516fe
Add a note about the BOOST_HASH_NO_EXTENSIONS macro, and fix some typos and
...
improve the markup in the hash documentation.
[SVN r33298]
2006-03-09 23:59:19 +00:00
Daniel James
49a87ce365
Add a list of changes to the hash library documentation, update the
...
acknowledgements, and fix a few typos.
[SVN r33264]
2006-03-07 22:50:45 +00:00
Daniel James
8e8f7a8d11
Add the specializations of boost::hash to the reference documentation.
...
[SVN r33263]
2006-03-07 22:49:27 +00:00
Daniel James
60d6f2fabd
Use an array instead of std::set in hash_no_ext_fail_test, as that seems like a better test for older compilers.
...
[SVN r33194]
2006-03-01 22:44:27 +00:00
Daniel James
22a2c49db9
Only check that hash functions for the different infinities are equal when the infinities are equal...
...
[SVN r33182]
2006-02-28 23:15:43 +00:00
Daniel James
3ce1a740b7
Don't forward declare STL containers when using STLport - this is slightly over the top as the forward declarations seem to work on mingw-3_4_4-stlport-5_0, so maybe it's just a Visual C++ problem, but at this stage I'd rather keep things simple.
...
[SVN r33178]
2006-02-28 20:47:59 +00:00
Daniel James
d11d2dd17a
Reintroduce workaround for hashing const built-in array on Visual C++.
...
[SVN r33164]
2006-02-28 00:49:14 +00:00
Daniel James
17d5f71c35
Remove TODO note to self.
...
For the record: I removed the overload because it was causing an ambiguity that I was too lazy to work out at the time. It turned out this was because wchar_t was defined as unsigned short - using BOOST_NO_INTRINSIC_WCHAR_T was the right way to deal with this so the overload no longer needs to be disabled.
[SVN r33114]
2006-02-26 15:58:37 +00:00
Daniel James
a332300682
Fix a typo in the workaround code for compilers without partial specialization.
...
[SVN r33104]
2006-02-25 15:17:01 +00:00
Daniel James
fa8ce5ac40
Use _fpclass and fpclassify on less platforms. Hopefully will use them more widely after the release.
...
[SVN r33047]
2006-02-21 00:12:36 +00:00
Dave Abrahams
bbb8d4f19f
Remove uses of assert() from tests
...
[SVN r33011]
2006-02-19 15:03:31 +00:00
Daniel James
59ee910b2e
Split the hash documentation into several files.
...
[SVN r32973]
2006-02-16 23:10:26 +00:00
Daniel James
bf0ea56eac
Add to the hash tests, tests for the BOOST_HASH_NO_EXTENSIONS macro and a few other updates.
...
[SVN r32901]
2006-02-13 18:26:00 +00:00
Daniel James
5fdfe5d328
Add support for the BOOST_HASH_NO_EXTENSIONS macro.
...
[SVN r32900]
2006-02-13 18:21:20 +00:00
Daniel James
3788bb9e75
Make hash_fwd_test_1 a little easier to compile.
...
[SVN r32834]
2006-02-11 21:20:47 +00:00
Daniel James
b36cac82c3
In hash_float, only use _fpclass on Visual C++, I'll find out about other compilers later.
...
[SVN r32833]
2006-02-11 21:15:15 +00:00
Daniel James
4baf5e8517
Update the hash documentation to reflect the reorganisation of the headers (still need to write a 'what's changed' page to explain the changes).
...
[SVN r32800]
2006-02-10 00:26:09 +00:00
Daniel James
946d1b9cc3
Tweak the portable example.
...
[SVN r32787]
2006-02-09 19:24:04 +00:00
Daniel James
0a1800f9f8
A couple of workarounds for Digital Mars.
...
[SVN r32786]
2006-02-09 19:22:54 +00:00
Daniel James
7ec1fbe694
Add a couple of missing includes for hash_range_test and hash_string_test
...
[SVN r32785]
2006-02-09 19:20:07 +00:00
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