Daniel James
8afae2e762
Hash: Remove container_fwd_0x.hpp
...
[SVN r81678]
2012-12-02 21:12:24 +00:00
Daniel James
03380087a9
Hash: Don't use workarounds with recent compilers. #7221 , #7470
...
[SVN r81677]
2012-12-02 21:11:45 +00:00
Marshall Clow
9dcc33ab1b
Removed missed usage of deprecated macros in Boost.Functional
...
[SVN r81578]
2012-11-26 21:45:20 +00:00
Daniel James
dfd48ef498
Hash: Revert r81122. Refs #7470 .
...
I'll get back to this later, it probably requires compiler specific changes.
[SVN r81124]
2012-10-31 19:05:25 +00:00
Marshall Clow
a2756e75e8
Narrower 'using'; Refs #7470
...
[SVN r81122]
2012-10-31 17:14:43 +00:00
Daniel James
853a713cf2
Remove deprecated header boost/functional/detail/container_fwd.hpp
...
[SVN r80288]
2012-08-28 17:43:05 +00:00
Daniel James
7b2f73c225
Hash: Avoid type punning warning.
...
[SVN r80217]
2012-08-25 20:54:10 +00:00
Daniel James
eec47991f9
Hash: A single unified algorithm for hashing floats.
...
Attempts to automatically use a binary hash for floats where it's known to
work, and then use the generic hash algorithm as a fallback.
[SVN r80177]
2012-08-24 22:52:42 +00:00
Daniel James
05f16beaf0
Hash: Quick attempt at supporting enums.
...
Thanks to Filip Konvička.
[SVN r80139]
2012-08-22 11:40:27 +00:00
Daniel James
9119b2646b
Hash: Remove C++11 forward declarations.
...
It seems that on Visual C++ Dinkumware declares shared_ptr in std, but for
Intel C++ it imports it from std::tr1. I was thinking of doing a macro check
for this, but since we're close to release, just change it to always include
the headers and never forward declare the C++11 classes, which is much safer.
I might restore the forward declarations in the future, although I'm tempted
not to. I'm not sure the improvement in compile time is worth the hassle.
[SVN r80038]
2012-08-14 20:06:07 +00:00
Daniel James
92fe67f714
Compile error for deprecated header boost/functional/detail/container_fwd.hpp.
...
[SVN r79652]
2012-07-22 07:15:34 +00:00
Daniel James
5ebe3ad87d
Hash: Fix smart pointer macro check.
...
[SVN r79527]
2012-07-15 07:43:40 +00:00
Daniel James
411ac66581
Hash: std::shared_ptr, std::unique_ptr support.
...
[SVN r79516]
2012-07-14 22:32:29 +00:00
Marshall Clow
af3a31090c
Switch from deprecated macros to new shiny ones; no functionality change
...
[SVN r79392]
2012-07-09 20:12:04 +00:00
Daniel James
6be66ba092
Hash: Remove stary semicolon from deprecation pragma.
...
[SVN r78635]
2012-05-26 15:02:26 +00:00
Daniel James
0d4c55854b
Add warning to deprecated header boost/functional/detail/container_fwd.hpp.
...
Should have done this years ago, removing this header should make
modularization a tad bit cleaner.
[SVN r78533]
2012-05-21 21:58:18 +00:00
Daniel James
8bc410f571
Hash: Use SFINAE to avoid implicit casts to numbers.
...
[SVN r78391]
2012-05-08 22:24:46 +00:00
Daniel James
441cea413d
Hash: Some formatting.
...
[SVN r78164]
2012-04-23 20:49:30 +00:00
Daniel James
98953a28c7
Hash: Support std::array and std::tuple. Refs #6806 .
...
[SVN r78144]
2012-04-22 19:46:28 +00:00
Daniel James
f98a942e2e
Unordered/hash: Avoid a gcc warning. Refs #6771
...
[SVN r77832]
2012-04-08 15:29:15 +00:00
Daniel James
ce885af9b0
Fix copy and paste typo. Refs #4756 .
...
[SVN r68182]
2011-01-16 11:06:00 +00:00
Daniel James
9e641187c6
Oops, make new hash_value overload inline.
...
[SVN r68147]
2011-01-14 03:36:39 +00:00
Daniel James
7dc95d044d
Support typeindex in hash. Refs #4756 .
...
[SVN r68145]
2011-01-14 03:13:39 +00:00
Daniel James
ed598f865e
Fix tabs and files without copyright.
...
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James
482f038837
Avoid -Wconversion warnings in unordered & hash.
...
[SVN r67170]
2010-12-11 14:43:00 +00:00
Daniel James
577054de93
Fix hashing pointers on 64-bit OpenVMS.
...
Patch by Artyom. Refs #4477
[SVN r64397]
2010-07-27 19:18:53 +00:00
Daniel James
fc3b3863b4
Only include static_assert when necessary.
...
[SVN r64009]
2010-07-14 08:28:04 +00:00
Daniel James
906f632706
Actually, make the change to hash opt-in, rather than opt-out. It's a bit late to introduce a breaking change.
...
[SVN r64007]
2010-07-14 08:17:48 +00:00
Daniel James
bbfb6fd32c
Release notes for hash.
...
[SVN r63810]
2010-07-10 13:47:47 +00:00
Daniel James
2553a5fbdc
Try preventing static casts when calling hash_value.
...
[SVN r63716]
2010-07-06 23:32:37 +00:00
Daniel James
733422d1b9
Remove optimization which causes 0.5 to hash to 0. Refs #4038 .
...
I have an internal requirement the 0 hashes to 0, a better solution
might be to remove that, put the optimization back and hash 0 to another
value. Or alternatively, use the main combine function instead.
[SVN r60805]
2010-03-24 08:49:00 +00:00
Daniel James
538b8fb95a
Stop using the deprecated BOOST_HAS_ macros in unordered and hash.
...
[SVN r59697]
2010-02-15 23:01:06 +00:00
Daniel James
6d7a55a4f7
Formatting changes, mostly to fit within 80 characters.
...
Also, some C casts converted to static_cast.
[SVN r58692]
2010-01-04 22:49:39 +00:00
Daniel James
0ed492ba18
Rename namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS to lower case for consistency.
...
[SVN r58632]
2010-01-02 11:12:23 +00:00
Daniel James
3882189584
Try to suppress some more Visual C++ warnings.
...
[SVN r57976]
2009-11-27 19:43:26 +00:00
Daniel James
9958072d2a
Stricter warnings for unordered and hash.
...
There are still warnings in hash_complex_test.
[SVN r57537]
2009-11-10 08:15:55 +00:00
Daniel James
07b565143f
Add am implementation note about the Visual C++ problems.
...
[SVN r54399]
2009-06-27 07:39:12 +00:00
Jürgen Hunold
d8980c3f09
Fix gcc -pedantic warning: remove extra ";".
...
[SVN r54146]
2009-06-21 14:38:19 +00:00
Daniel James
c51bebf8a4
Move the support for hashing containers into the extension header, and improve the standard tests.
...
[SVN r54144]
2009-06-21 09:42:40 +00:00
Daniel James
8b98036bb8
Move BOOST_HASH_CHAR_TRAITS from container_fwd into the hash headers, and undefine it.
...
[SVN r54143]
2009-06-21 09:42:20 +00:00
Daniel James
4774d24966
Get <boost/functional/hash/extensions.hpp> to work.
...
[SVN r54142]
2009-06-21 09:42:05 +00:00
Daniel James
13f44653b5
Revert [54025] "Try to avoid using special macro handling code."
...
[SVN r54141]
2009-06-21 09:41:46 +00:00
Daniel James
e20c872440
Move includes to the header which they're used in.
...
[SVN r54140]
2009-06-21 09:41:30 +00:00
Daniel James
600740e2ae
A few more comments in boost::hash.
...
[SVN r54139]
2009-06-21 09:41:11 +00:00
Daniel James
3d79c2f1e4
Try to avoid using special macro handling code.
...
[SVN r54025]
2009-06-17 21:23:42 +00:00
Daniel James
3cf1a67771
Put the minimum amount of implementation in the same namespace as the 'using namespace' directives in order to avoid Visual C++ 8 bug.
...
[SVN r54024]
2009-06-17 21:22:49 +00:00
Daniel James
9f4a6a966e
Try to avoid float to int warning when a float function doesn't exist. Refs #3171 .
...
[SVN r53828]
2009-06-12 18:24:47 +00:00
Daniel James
326a338add
Remove misplaced visual C++ warning pragma.
...
[SVN r53506]
2009-05-31 15:53:09 +00:00
Daniel James
909d0c9547
Fix a couple of clumsy errors in the last commit.
...
[SVN r53248]
2009-05-25 14:27:00 +00:00
Daniel James
912aed0b57
Check for float functions with less templates.
...
The only template mechanism now used is full specialization, so this should
hopefully be more portable to compilers we don't test.
[SVN r53247]
2009-05-25 13:45:16 +00:00