Commit Graph
173 Commits
Author SHA1 Message Date
Daniel James 9f2652ae07 Hash: Remove stary semicolon from deprecation pragma.
[SVN r78635]
2012-05-26 15:02:26 +00:00
Daniel James f88d46a03a 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 f54e6e8af1 Hash: Use SFINAE to avoid implicit casts to numbers.
[SVN r78391]
2012-05-08 22:24:46 +00:00
Lorenzo Caminiti 37f91f600d Using all lower case section IDs.
[SVN r78233]
2012-04-28 02:21:15 +00:00
Daniel James dfa8524f2f Hash: Some formatting.
[SVN r78164]
2012-04-23 20:49:30 +00:00
Daniel James 7444eee62b Hash: Support std::array and std::tuple. Refs #6806.
[SVN r78144]
2012-04-22 19:46:28 +00:00
Lorenzo Caminiti 90b94a9560 Forcing type-of emulation on Sun.
Trying to fix OverloadedFunction pp bug on Sun by removing SUB on iteration range (doing ADD on iteration index instead).

[SVN r77940]
2012-04-12 21:12:28 +00:00
Lorenzo Caminiti 094516d686 Added some tests to figure out pp problem with OverloadedFunciton on Sun.
[SVN r77925]
2012-04-11 20:55:54 +00:00
Lorenzo Caminiti c5a4dc3db1 Commented out some code in overloaded_function to try to see what breaks on Sun.
[SVN r77900]
2012-04-10 21:09:36 +00:00
Lorenzo Caminiti f6beb74abb Updated docs.
[SVN r77899]
2012-04-10 20:42:53 +00:00
Lorenzo Caminiti 9e7ccedcfe Added a specialization to deduced F from boost::function<F> removing the need to register boost::function for type-of emulation (because it required to register boost::functionN instead of boost::function and that was confusing).
[SVN r77891]
2012-04-10 19:17:41 +00:00
Daniel James 3910f072cd Unordered/hash: Avoid a gcc warning. Refs #6771
[SVN r77832]
2012-04-08 15:29:15 +00:00
Lorenzo Caminiti 01aba11b87 Trying to fix a pp error on Sun... using a separate macro to force expansion but not sure if that was the issue.
[SVN r77823]
2012-04-07 19:43:03 +00:00
Lorenzo Caminiti 1326990a7e Registering all types so Boost.Functional/OverloadedFunction works in type-of emulation mode (and not just native).
[SVN r77709]
2012-04-02 01:08:20 +00:00
Lorenzo Caminiti 9b08b5632d Added a couple of code comments.
[SVN r77068]
2012-02-18 16:11:21 +00:00
Lorenzo Caminiti c4824e0bd6 Remove a set of extra parenthesis in getting a member function pointer that were not needed and did not compile on clang.
[SVN r77065]
2012-02-18 15:20:39 +00:00
Lorenzo Caminiti 6cbe04b95b Added Functional/OverloadedFunction source files.
[SVN r77025]
2012-02-15 00:42:56 +00:00
Daniel James 048d92f36a Fix copy and paste typo. Refs #4756.
[SVN r68182]
2011-01-16 11:06:00 +00:00
Daniel James d631763584 Oops, make new hash_value overload inline.
[SVN r68147]
2011-01-14 03:36:39 +00:00
Daniel James 30618f1dff Support typeindex in hash. Refs #4756.
[SVN r68145]
2011-01-14 03:13:39 +00:00
Daniel James 948aee8aab Fix tabs and files without copyright.
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James e2d25b5c00 Avoid -Wconversion warnings in unordered & hash.
[SVN r67170]
2010-12-11 14:43:00 +00:00
Daniel James 0ae94ec276 Fix hashing pointers on 64-bit OpenVMS.
Patch by Artyom. Refs #4477

[SVN r64397]
2010-07-27 19:18:53 +00:00
Daniel James ef1bfd0174 Only include static_assert when necessary.
[SVN r64009]
2010-07-14 08:28:04 +00:00
Daniel James 3bb0cd29e4 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 892623b401 Release notes for hash.
[SVN r63810]
2010-07-10 13:47:47 +00:00
Daniel James 67c3951e3f Try preventing static casts when calling hash_value.
[SVN r63716]
2010-07-06 23:32:37 +00:00
Tobias Schwinger 67cadfe2b3 applies BOOST_DEDUCED_TYPENAME to hopefully please VACPP
[SVN r61634]
2010-04-27 23:14:23 +00:00
Daniel James a7d58c92b3 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 09dee31f61 Stop using the deprecated BOOST_HAS_ macros in unordered and hash.
[SVN r59697]
2010-02-15 23:01:06 +00:00
Tobias Schwinger cfc0494e33 checks for write permission on working copy :-)
[SVN r59524]
2010-02-06 14:20:05 +00:00
Daniel James a3cabbe601 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 6fe052f27e Rename namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS to lower case for consistency.
[SVN r58632]
2010-01-02 11:12:23 +00:00
Daniel James ec3632c322 Try to suppress some more Visual C++ warnings.
[SVN r57976]
2009-11-27 19:43:26 +00:00
Daniel James ed8c404ca6 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 4936095357 Add am implementation note about the Visual C++ problems.
[SVN r54399]
2009-06-27 07:39:12 +00:00
Jürgen Hunold f2dd570ee9 Fix gcc -pedantic warning: remove extra ";".
[SVN r54146]
2009-06-21 14:38:19 +00:00
Daniel James e661dbe988 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 0d9f68d607 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 153971fcc3 Get <boost/functional/hash/extensions.hpp> to work.
[SVN r54142]
2009-06-21 09:42:05 +00:00
Daniel James a4a6778f73 Revert [54025] "Try to avoid using special macro handling code."
[SVN r54141]
2009-06-21 09:41:46 +00:00
Daniel James ebf01f20ca Move includes to the header which they're used in.
[SVN r54140]
2009-06-21 09:41:30 +00:00
Daniel James ac31c7e33c A few more comments in boost::hash.
[SVN r54139]
2009-06-21 09:41:11 +00:00
Daniel James cf5f69c216 Try to avoid using special macro handling code.
[SVN r54025]
2009-06-17 21:23:42 +00:00
Daniel James 69882c3b5b 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 d84c5c9364 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 37b84f9cbb Remove misplaced visual C++ warning pragma.
[SVN r53506]
2009-05-31 15:53:09 +00:00
Daniel James 26cf795fe0 Fix a couple of clumsy errors in the last commit.
[SVN r53248]
2009-05-25 14:27:00 +00:00
Daniel James e655314f73 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
Daniel James 1ccd4616fc Try to deal with macros for frexpl and ldexpl.
The error message for msvc-9.0~wm5~stlport5.2 suggests that frexpl and ldexpl
are macros.

[SVN r53205]
2009-05-23 15:21:38 +00:00