706 Commits

Author SHA1 Message Date
Daniel James
739dd5df58 Fix some warnings in test/example code. 2016-05-30 15:20:52 +01:00
Daniel James
62cc73b31d Merge pull request #5 from danieljames/feature/forward-fixes
Feature/forward fixes
2016-05-27 09:54:33 +01:00
Daniel James
c6f1cf79c6 Fix tests 2016-05-27 08:38:54 +01:00
Daniel James
a43bbfe34c Fix handling of no argument functions in C++11.
When they don't exist it was failing because result_of doesn't have a
type and SFINAE couldn't be used as they have no template arguments.
2016-05-27 08:38:01 +01:00
Daniel
f2e4a80a33 Travis 2016-05-26 22:36:58 +01:00
Daniel
45eeb170f2 Fix the binary 32 and 64 bit hash functions. 2016-02-28 09:14:37 +00:00
Daniel
fa6cb80704 Add test for strings of null character.
They're working, but wanted to make that explicitly clear.
2016-02-28 09:11:19 +00:00
Daniel James
df98d4fd1c Merge pull request #4 from BillyDonahue/changes
doc: BOOST_HASH_SPECIALIZE_REF passes by const ref
boost-1.60.0 boost-1.61.0
2015-09-15 13:50:41 +01:00
Billy Donahue
2a0d1be60b doc: BOOST_HASH_SPECIALIZE_REF passes by const ref 2015-09-12 17:12:02 -04:00
Daniel James
1bf379ab60 Merge remote-tracking branch 'origin/develop' boost-1.59.0 boost-1.58.0 2015-01-24 14:37:21 +00:00
Daniel James
a47818647d Fix version number in release notes. 2015-01-10 13:10:15 +00:00
Daniel James
188c8d4c5d Change default factory allocator to 'void'.
To remove the dependency on Boost.Optional. Supplied a macro for
backwards compatibility, but that will be removed in a future release.
2015-01-10 13:08:03 +00:00
Daniel James
980e1e4078 Release note for hash change. 2015-01-10 13:04:32 +00:00
Daniel James
97754f5bd8 Merge branch 'pr/2' into develop 2015-01-05 19:37:22 +00:00
Andrzej Krzemieński
28796cd2db removed unused header
this decouples this library from Boost.Optional
2015-01-05 19:36:57 +00:00
Daniel James
a0bb64c271 Merge branch 'pr/3' into develop 2015-01-05 19:36:31 +00:00
Andy Webber
d5dc5033d2 Fixed strict aliasing violation.
Changed C-style cast and dereference to std::memcpy.  Exactly mirrors other code already in the file.
2015-01-05 19:35:34 +00:00
Daniel James
8bbbb7a71c Merge branch 'develop' boost-1.56.0 boost-1.57.0 2014-07-28 23:32:57 +01:00
Daniel James
770e4dea08 Update documentation for hash_combine.
Also added some disclaimers for anyone who didn't notice the note in the
introduction.
2014-07-28 23:30:47 +01:00
Daniel James
6dad4b1f88 The correct release notes.
The ones I checked in were for unordered.
2014-07-27 18:00:14 +01:00
Daniel James
a52395f96f Merge branch 'develop' 2014-07-27 12:20:49 +01:00
Daniel James
d4e5e0cf82 Release notes. 2014-07-27 12:20:43 +01:00
Daniel James
cc113c3316 Merge remote-tracking branch 'origin/develop' 2014-07-27 12:01:12 +01:00
Daniel James
718e41e8f8 Update metadata to use array for 'std'. 2014-05-31 15:16:56 +01:00
Daniel James
0471fb777f Merge branch 'develop'
Library metadata, plus improved hash_combine.
2014-03-16 22:55:12 +00:00
Daniel James
a20198de14 Regenerate metadata, alphabetical order + no empty maintainers. 2014-02-28 00:56:27 +00:00
Daniel James
8a8c098f7f Regenerate libraries.json 2014-02-27 22:46:55 +00:00
Daniel James
79cda1d5fd Update maintainers from /libs/maintainers.txt 2014-02-27 22:29:01 +00:00
Daniel James
e5f3f1fc42 Typo 2014-02-24 22:21:35 +00:00
Daniel James
50924ef1a8 Add maintainers to metadata. 2014-02-24 22:21:03 +00:00
Daniel James
8578d4c6a0 Json meta data. 2014-02-24 21:40:10 +00:00
Daniel James
c3154fee78 Add metadata 2014-02-23 14:29:48 +00:00
Daniel James
64e85476f1 Another try at an improved hash function.
This is based on the mix function from MurmurHash. It's not the full
algorithm as it's always seeded with 0, and doesn't do a final mix. This
should be okay as Boost.Hash doesn't claim to avalanche the bits.
2014-02-23 10:17:08 +00:00
Daniel James
12501a7224 Merge remote-tracking branch 'origin/develop' 2014-02-12 23:55:44 +00:00
Daniel James
5b893dfb06 Remove executable flag from jamfile. 2014-02-12 23:48:13 +00:00
Daniel James
c965760ea1 Improved(?) hash function.
Given the existing interface, it's quite tricky to use most popular hash
functions without a change, so I'm using a modified version of FNV1a.
The current function always starts with a seed of 0 (and will in user
functions), so I'm adding the offset each time instead. I'm not sure if
that will work as well.
2014-01-28 23:33:25 +00:00
Daniel James
66477fe07a Merge remote-tracking branch 'origin/develop'
Just updating 'pragma once' to use the correct config macro.
2014-01-23 22:01:07 +00:00
Stephen Kelly
e961a8a2f8 Functional: Remove obsolete MSVC version checks.
[SVN r86051]
2013-12-10 23:41:55 +00:00
Daniel James
fb01de460f Use BOOST_HAS_PRAGMA_ONCE.
Remembering to first include config, so that it'll actually be defined.

[SVN r86726]
2013-12-10 23:41:13 +00:00
Stephen Kelly
9cd62829ee Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-12-10 23:40:59 +00:00
Daniel James
4502d6e66a Merge branch 'develop' 2013-12-10 23:40:30 +00:00
Daniel James
ac79bdc911 Remove old files accidentally restored by conversion. 2013-12-10 23:40:22 +00:00
Daniel James
b5e6678553 Revert changes to develop branch.
Simplest way to merge to master.
2013-12-10 23:18:52 +00:00
Daniel James
26af234c23 Merge unordered and hash from trunk.
- Only use Visual C++ pragma with appropriate compilers.
- Working link for Thomas Wang's hash function.
- Updated unordered rationale.
- Fix `unnecessary_copy_tests` for Visual C++ 12.
- Some extra insert tests.


[SVN r86728]
svn-release
2013-11-16 20:36:27 +00:00
Daniel James
612861ab0d Use BOOST_HAS_PRAGMA_ONCE.
Remembering to first include config, so that it'll actually be defined.

[SVN r86726]
svn-trunk
2013-11-16 20:13:24 +00:00
Michel Morin
f5731a878f Merge r86524 (Correct broken links to C++ standard papers); fixes #9212
[SVN r86673]
2013-11-13 03:22:55 +00:00
Daniel James
3f4d17c5e7 Only use Visual C++ pragma for appropriate versions.
[SVN r86671]
2013-11-12 22:09:42 +00:00
Daniel James
b0c83ab93c Link to archived copy of Thomas Wang's integer hash function.
His site's no longer on the web, so use web.archive.org instead.

[SVN r86607]
2013-11-10 23:25:54 +00:00
Michel Morin
d0a7446c6e Correct broken links to C++ standard papers. Refs #9212.
[SVN r86524]
2013-10-30 12:51:24 +00:00
Stephen Kelly
dd73970b1e Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00