Daniel James
74a03d1655
Avoid some warnings when compiling the test with Visual C++.
...
[SVN r40004]
2007-10-14 07:38:49 +00:00
Daniel James
a93b6e3fea
Add a trivial test to see if the deprecated hash headers compile okay when included.
...
[SVN r39994]
2007-10-13 22:43:13 +00:00
Daniel James
d83e6aef2b
Clean up the hash tests a little.
...
[SVN r39993]
2007-10-13 22:30:50 +00:00
Daniel James
81a2c42496
Use a pragma for warnings in Visual C++.
...
[SVN r39991]
2007-10-13 21:50:05 +00:00
Daniel James
1df7ab54e3
Use quickbook v1.4 for the hash library.
...
[SVN r39985]
2007-10-13 18:47:41 +00:00
Daniel James
5194d14c25
Fix the copyright line for the hash library.
...
[SVN r39984]
2007-10-13 18:47:10 +00:00
Daniel James
cc8d3636e8
Add support for complex numbers to Boost.Hash
...
[SVN r39983]
2007-10-13 18:34:25 +00:00
Daniel James
423d71ae31
Separate the long double hash tests from the test for other float types. On
...
some platforms the standard library has poor support for long doubles causing
long doubles to fail when the others pass. So this makes it clearer that the
problem is only for long doubles.
[SVN r39979]
2007-10-13 17:47:57 +00:00
Daniel James
d3719996d2
Remove the pointles separation of the float tests into three functions
...
(probably a throwback to when I used Boost.Test)
[SVN r39977]
2007-10-13 17:35:48 +00:00
Daniel James
ce6543623e
New attempt at fixing the function pointer hash on the Sun compilers.
...
I think I was barking up the wrong tree - it could be that when calling
hash_value with a function pointer the compiler was choosing the
hash_value(bool) overload over the hash_value(T*) overload, so instead I'm
trying to call the correct one by giving it a template parameter. Another
alternative would be to calculate the hash function inside boost::hash.
Unfortunately, if I'm right, this means that other calls to hash_value will go
wrong for function pointers.
[SVN r39972]
2007-10-13 16:34:09 +00:00
Daniel James
26dc8abf25
Fix my botched attempt at supporting function pointers on Sun's compilers.
...
Also, now only applies the workaround to function pointers, non-function
pointers are treated as before. I might need to apply the special case to
member function pointers as well.
[SVN r39960]
2007-10-12 11:58:34 +00:00
Daniel James
f637c9e8ce
Try to fix function pointer hashing for the sun compiler. A bit of a stab in
...
the dark.
[SVN r39935]
2007-10-11 17:12:24 +00:00
Daniel James
59f532cc68
Output some info about a test failure when hashing function pointers.
...
[SVN r39833]
2007-10-09 07:19:30 +00:00
Daniel James
d756415eb3
Include the size of function pointers, void* and std::size_t in the output of the function pointer hash test, to give me a clue why it's failling on a platform.
...
[SVN r39766]
2007-10-07 18:08:35 +00:00
Daniel James
ee28cdbcd5
On Cygwin use a binary based hash function for floating point numbers, as
...
Cygwin doesn't have decent floating point functions for long doubles.
[SVN r39694]
2007-10-05 09:46:22 +00:00
Daniel James
3b30bda727
Fix an if statement.
...
[SVN r39692]
2007-10-05 09:43:01 +00:00
Daniel James
48c2728dd5
Add proper support for long longs and unsigned long longs.
...
[SVN r39014]
2007-08-27 18:16:54 +00:00
Daniel James
58285d414e
Comment out -Wextra because it doesn't work on older versions of gcc.
...
[SVN r39009]
2007-08-27 17:59:54 +00:00
Daniel James
90c422e846
Remove hash_complex_test - it should have been removed when I reverted to 1.34.1
...
[SVN r38884]
2007-08-24 02:33:43 +00:00
Daniel James
db8825c7d1
Change a comparison in the float hashing code, which can cause a warning on
...
gcc. Although the warning doesn't currently turn up in this branch, it could
be caused quite easily. Originally reported in:
http://lists.boost.org/Archives/boost/2007/08/126084.php
[SVN r38883]
2007-08-24 02:01:47 +00:00
Daniel James
9211fcba2e
Add some missing hash_value documentation for the new overloads.
...
[SVN r38882]
2007-08-24 01:56:47 +00:00
Daniel James
f15ea62785
Add extra overloads for hash_value to cover all the specializations of boost::hash. Fixes 1095
...
[SVN r38881]
2007-08-24 01:44:15 +00:00
Daniel James
bd102b0479
Merge some documentation improvements from the development branch.
...
[SVN r38878]
2007-08-24 01:16:54 +00:00
Daniel James
2ae3f472c1
Remove the errno check when hashing floating point numbers. It's not really
...
needed and was causing problems on the Microsoft Windows Smarthone Edition
platform. Fixes #1064 .
[SVN r38877]
2007-08-24 01:11:33 +00:00
Daniel James
33643fd6b3
Update the copyright in the hash library.
...
[SVN r38876]
2007-08-24 01:05:36 +00:00
Daniel James
aa7a824c6d
Copy hash library from 1.34.1 over trunk.
...
For the first merge with the release branch, I only want to include some of the
changes I've been working on (fixes and some trivial changes), so I'm starting
again from 1.34.1.
[SVN r38873]
2007-08-24 00:42:19 +00:00
Daniel James
567290d703
Avoid a comparison with zero warning on gcc when compiling with -Wextra.
...
[SVN r38679]
2007-08-15 14:35:39 +00:00
Daniel James
59064fed23
Test the hash library with warning level 4 on Visual C++ - although there's
...
still one warning for hashing long doubles.
[SVN r38647]
2007-08-14 09:53:55 +00:00
nobody
8d271da155
Add -Wsign-promo to the hash test compile flags since I'm now trying to avoid the warning. I still need to check that it won't break older versions of gcc.
...
[SVN r38565]
2007-08-10 11:22:54 +00:00
nobody
4e59762347
Add some missing 'inline's.
...
[SVN r38564]
2007-08-10 11:08:19 +00:00
nobody
fbe0c3eeca
Add overloads of hash_value for more built in types. They're not strictly
...
needed and aren't in the original specifiction but they avoid a warning. See
ticket #1095 for details.
[SVN r38563]
2007-08-10 10:32:21 +00:00
Daniel James
0728daf92d
Drop the v1 Jamfiles.
...
[SVN r38512]
2007-08-08 18:26:51 +00:00
nobody
049552f71f
This commit was manufactured by cvs2svn to create tag
...
'Version_1_34_1'.
[SVN r38286]
2007-07-24 19:28:14 +00:00
Daniel James
d25ca5a376
Put the borland workarounds back - it still seems to need them. Will probably
...
have to do something else on top of this for any problems this causes.
[SVN r37803]
2007-05-27 09:28:50 +00:00
Daniel James
15d9d535a9
Update the copyright in more hash files.
...
[SVN r37802]
2007-05-27 09:09:28 +00:00
Daniel James
27d2c57873
Update copyright on hash headers.
...
[SVN r37801]
2007-05-27 09:07:09 +00:00
Daniel James
4ef5d0d98c
Full namespace for std::size_t.
...
[SVN r37779]
2007-05-25 23:58:33 +00:00
Thomas Witt
244c6802b0
Hash warning patch 2 see Trac #952
...
[SVN r37737]
2007-05-22 03:55:10 +00:00
Thomas Witt
be0cd834a1
Hash warning patch see Trac #952
...
[SVN r37705]
2007-05-17 23:07:38 +00:00
Daniel James
e0c13b595d
Rolling back changes I shouldn't have checked in.
...
[SVN r37699]
2007-05-15 22:05:41 +00:00
Daniel James
5831163a21
Fix a couple of typos in the hash documentation.
...
[SVN r37697]
2007-05-15 19:54:42 +00:00
Daniel James
8f08a63793
Update the date in the hash documentation copyright block.
...
[SVN r37696]
2007-05-15 19:47:52 +00:00
Daniel James
8e0e4dbb6e
Add a missing bracket to the hash copyright documentation.
...
[SVN r37695]
2007-05-15 19:45:49 +00:00
Daniel James
8241c0a087
Clean up the 64-bit std::size_t workaround and hopefully suppress the warning
...
on 32-bit Visual C++.
[SVN r37694]
2007-05-15 19:44:46 +00:00
Daniel James
e8970a08f3
Another typo.
...
[SVN r37569]
2007-05-02 21:44:56 +00:00
Daniel James
891112a42f
Fix a typo.
...
[SVN r37568]
2007-05-02 21:43:51 +00:00
Daniel James
718fda8635
Group the functions in the hash reference to make it a little clearer.
...
[SVN r37567]
2007-05-02 21:39:13 +00:00
Daniel James
524335a091
Document boost::hash<T*>.
...
[SVN r37554]
2007-05-01 21:28:45 +00:00
Daniel James
f31d7a7613
Add missing bracket.
...
[SVN r37541]
2007-04-30 20:28:04 +00:00
Daniel James
586c98cb7e
Update the copyright in the hash documentation.
...
[SVN r37518]
2007-04-27 19:46:53 +00:00