Daniel James
7d6f6fe0b4
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
6b0b4bb486
Fix a typo in the workaround code for compilers without partial specialization.
...
[SVN r33104]
2006-02-25 15:17:01 +00:00
Daniel James
3382c46b6d
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
cc22df0753
Remove uses of assert() from tests
...
[SVN r33011]
2006-02-19 15:03:31 +00:00
Daniel James
be3a039e88
Split the hash documentation into several files.
...
[SVN r32973]
2006-02-16 23:10:26 +00:00
Daniel James
de07bf2d69
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
ae412b3215
Add support for the BOOST_HASH_NO_EXTENSIONS macro.
...
[SVN r32900]
2006-02-13 18:21:20 +00:00
Daniel James
f2d6086180
Make hash_fwd_test_1 a little easier to compile.
...
[SVN r32834]
2006-02-11 21:20:47 +00:00
Daniel James
5bdae3b096
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
7aeaa0f669
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
1f657699a2
Tweak the portable example.
...
[SVN r32787]
2006-02-09 19:24:04 +00:00
Daniel James
9d41ce0eda
A couple of workarounds for Digital Mars.
...
[SVN r32786]
2006-02-09 19:22:54 +00:00
Daniel James
1ce3be5602
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
ef0b8e3188
Change the hash tests to use the lightweight test header.
...
[SVN r32784]
2006-02-09 19:16:08 +00:00
Daniel James
b5058c7e75
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
2dcf38a04a
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
a5844bc9bf
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
534d526c90
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
9734825574
Update the hash tests for the new headers.
...
[SVN r32779]
2006-02-09 19:01:33 +00:00
Daniel James
ffec55693b
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
71641ebdcd
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
8f2c004a17
Add the missing test.
...
[SVN r32776]
2006-02-09 18:43:55 +00:00
Vladimir Prus
972f720922
Comment out refereces to absent file
...
[SVN r32772]
2006-02-09 14:12:19 +00:00
Daniel James
47df6bd0fe
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
bb702b827e
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
3cb7963112
Add an extra test for a Borland bug I found.
...
[SVN r32685]
2006-02-07 00:45:32 +00:00
Daniel James
b626dc405e
Attempt to get container_fwd.hpp working on more compilers.
...
[SVN r32684]
2006-02-07 00:43:06 +00:00
Daniel James
0eab9ed7bb
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
7ea3aed050
Move the float hash function into its own header.
...
[SVN r32594]
2006-02-05 19:51:29 +00:00
Daniel James
9521ea7ea3
Use BOOST_WORKAROUND in boost/functional/hash/hash.hpp
...
[SVN r32589]
2006-02-05 16:31:45 +00:00
Daniel James
ebf1937e6d
Use hash_fwd.hpp in the main hash header.
...
[SVN r32588]
2006-02-05 16:27:19 +00:00
Daniel James
c8dc9ac3e4
Add tests for the hash forward header.
...
[SVN r32587]
2006-02-05 16:06:31 +00:00
Daniel James
f2781366e0
Add a forward header for the hash functions.
...
[SVN r32586]
2006-02-05 16:03:43 +00:00
Daniel James
7815a36643
Fix a parse error in the hash test Jamfile.
...
[SVN r32585]
2006-02-05 15:56:47 +00:00
Daniel James
07c14534ec
Use container_fwd.hpp for the hash functions.
...
[SVN r32583]
2006-02-05 14:44:24 +00:00
Daniel James
f467da5438
Add pair to container_fwd_test.
...
[SVN r32582]
2006-02-05 14:11:59 +00:00
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