Daniel James
f1735ef326
Add a forwarding header for container_fwd.hpp
...
[SVN r49662]
2008-11-09 12:11:50 +00:00
Daniel James
82ffa7ff03
Move hash detail headers out of boost/functional/detail.
...
[SVN r49661]
2008-11-09 12:03:45 +00:00
Daniel James
1c66cdb55e
Revert [49229], it fixes the same problem as [48674].
...
[SVN r49338]
2008-10-15 09:44:41 +00:00
John Maddock
d8d39c8f90
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
...
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
Fixes #2392 .
[SVN r49254]
2008-10-10 16:10:00 +00:00
Nicola Musatti
85813284d1
Small CodeGear specific patch
...
[SVN r49229]
2008-10-09 22:11:20 +00:00
Daniel James
4d35a175a4
Reinstate the old choice of float functions on Dinkumware for all compilers
...
other than Visual C++.
It turns out that Borland uses Dinkumware but doesn't have the C99 float
overloads, so it only seems realistic to assume their existence on Visual C++.
Refs #2264 .
[SVN r48674]
2008-09-08 21:06:16 +00:00
Daniel James
a57907c38e
Always use c99 float function overloads on Dinkumware, as it doesn't always have the C++ overloads. Refs #2264 .
...
[SVN r48529]
2008-09-02 10:31:26 +00:00
Daniel James
509a1a8834
Merged revisions 43838-43894 via svnmerge from
...
https://svn.boost.org/svn/boost/branches/unordered/trunk
........
r43840 | danieljames | 2008-03-24 17:25:07 +0000 (Mon, 24 Mar 2008) | 1 line
Fix a g++ warning.
........
r43844 | danieljames | 2008-03-24 17:56:28 +0000 (Mon, 24 Mar 2008) | 1 line
It's a new-ish year.
........
r43885 | danieljames | 2008-03-27 20:36:10 +0000 (Thu, 27 Mar 2008) | 1 line
The release script doesn't need to copy images and css - because that's now done in the jamfiles. Also tweak the shell script a tad bit.
........
r43890 | danieljames | 2008-03-27 23:01:40 +0000 (Thu, 27 Mar 2008) | 1 line
Starting to add a docbook bibliography.
........
r43894 | danieljames | 2008-03-27 23:24:18 +0000 (Thu, 27 Mar 2008) | 1 line
Redeclare 'data' in iterator_base to help compilers which have trouble with accessing the nested typedef.
........
[SVN r43895]
2008-03-27 23:38:01 +00:00
Daniel James
1de2ad87bd
Merge new changes to unordered & hash.
...
- Unordered tests can run lightweight test or Boost.Test (at least
theoretically).
- Workaround Open BSD's incorrect numeric_limits.
- Move the hash extensions in their own file.
- Various small improvements to the unordered docs.
- Fix some unordered examples.
Merged revisions 43117-43837 via svnmerge from
https://svn.boost.org/svn/boost/branches/unordered/trunk
[SVN r43838]
2008-03-24 17:03:15 +00:00
Daniel James
c84ac7de10
Remove the _fpclass code from floating point hash.
...
[SVN r42416]
2008-01-02 18:08:43 +00:00
Daniel James
727cacbc17
Only suppress warning for Visual C++ 8 and later. Refs #1509
...
[SVN r41866]
2007-12-08 12:24:36 +00:00
Daniel James
4a21971b5d
Try to suppress a Visual C++ warning. Refs #1509
...
[SVN r41864]
2007-12-08 11:04:40 +00:00
Daniel James
ba950b760e
Don't use fpclass because it causes a warning for long doubles. I don't know if the warning is vaild here - but I don't want to disable it as it's useful for checking other function calls.
...
[SVN r41057]
2007-11-13 11:51:23 +00:00
Daniel James
f7877f6738
New algorithm for hash floating point numbers.
...
[SVN r40264]
2007-10-21 08:36:47 +00:00
Daniel James
af3b9c6b58
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
993129e7e0
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
afc3267102
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
5f90cf05d3
Update the copyright in the hash library.
...
[SVN r38876]
2007-08-24 01:05:36 +00:00
Daniel James
ff43cf2784
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
08d38c1e39
Avoid a comparison with zero warning on gcc when compiling with -Wextra.
...
[SVN r38679]
2007-08-15 14:35:39 +00:00
Daniel James
0ecfe356ca
Update copyright on hash headers.
...
[SVN r37801]
2007-05-27 09:07:09 +00:00
Daniel James
585813f9fe
Rename hash_detail::float_limits => hash_detail::limits, since it's also used
...
for integers in the tests.
[SVN r35559]
2006-10-11 18:58:40 +00:00
Daniel James
40844fb29e
Only use the float.h macros on OpenBSD, it seems that on FreeBSD numeric_limits is actually a better option.
...
[SVN r35501]
2006-10-05 21:22:56 +00:00
Daniel James
3732ea7566
Fix a typo.
...
[SVN r35500]
2006-10-05 21:21:43 +00:00
Daniel James
869a303733
Remove checks for float macros, I was being over-paranoid.
...
[SVN r35349]
2006-09-26 23:28:34 +00:00
Daniel James
26473491c4
Attempting to work round the dodgy std::numeric_limits<long double> on
...
some BSDs.
[SVN r35345]
2006-09-26 20:35:58 +00:00
Daniel James
8ff9a154ad
Comment out an assert which is giving bogus failures. On platforms where it isn't possible to detect NaN or infinity the full hash computation is performed on them. For NaN the result doesn't matter (since NaN != NaN), for infinity it should always give the same result), so the calculation works but unfortuanately, I don't know how to correctly check that v is what I expect in the assertion.
...
I could use a different hash function when I don't have fpclassify/fpclass but that shouldn't be necessary.
[SVN r34490]
2006-07-09 22:50:43 +00:00
Daniel James
645cac6ae3
Update copyright details.
...
[SVN r34390]
2006-06-25 09:59:05 +00:00
Daniel James
1a219729ee
Avoid a warning on Visual C++
...
[SVN r34329]
2006-06-17 21:22:51 +00:00
Daniel James
cae97c67d8
Tweak the float hashing algorithm to perform fewer calls to ldexp for some
...
types and possibly generate a better hash value.
[SVN r34273]
2006-06-11 15:29:09 +00:00
Daniel James
a4d9b52094
Improve support for floating point types with radix != 2.
...
[SVN r34272]
2006-06-11 14:52:55 +00:00
Daniel James
00975444e0
Hash workarounds for Digital Mars.
...
[SVN r33958]
2006-05-07 17:52:38 +00:00
Daniel James
4ebb14ea3b
Don't use fpclassify for hashing on OS X.
...
[SVN r33875]
2006-04-30 19:16:08 +00:00
Daniel James
962f978081
Update the copyright comments in the hash headers.
...
[SVN r33370]
2006-03-18 15:54:53 +00:00
Daniel James
39255c201d
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
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
Daniel James
ae412b3215
Add support for the BOOST_HASH_NO_EXTENSIONS macro.
...
[SVN r32900]
2006-02-13 18:21:20 +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
9d41ce0eda
A couple of workarounds for Digital Mars.
...
[SVN r32786]
2006-02-09 19:22: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
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
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
b626dc405e
Attempt to get container_fwd.hpp working on more compilers.
...
[SVN r32684]
2006-02-07 00:43:06 +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
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
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
4cad065b0e
Add char_traits support to the container_fwd header.
...
[SVN r31133]
2005-09-27 19:45:04 +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
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
952d73da6b
Setup hash float function config for Tru64 on alpha and add some comments on
...
the different libraries & compilers.
[SVN r28138]
2005-04-11 22:20:33 +00:00