mirror of
https://github.com/boostorg/container_hash.git
synced 2026-04-28 18:02:14 +02:00
Split the hash pointer tests into tests for normal pointers and function pointers, as function pointers fail on old versions of Visual C++, and add a note about this to the hash documentaion.
[SVN r28389]
This commit is contained in:
@@ -336,6 +336,8 @@ On Visual C++ versions 6.5 and 7.0, `hash_value` isn't overloaded for built in
|
||||
arrays. __boost_hash, __hash_combine and __hash_range all use a workaround to
|
||||
support built in arrays so this shouldn't be a problem in most cases.
|
||||
|
||||
On Visual C++ versions 6.5 and 7.0, function pointers aren't currently supported.
|
||||
|
||||
`boost::hash_value(long double)` on GCC on Solaris appears to treat
|
||||
`long double`s as doubles - so the hash function doesn't take into account the
|
||||
full range of values.
|
||||
|
||||
Reference in New Issue
Block a user