From 39d479128cc2a08e7e5280386837b1da032b09e8 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 26 Jun 2014 10:55:42 +0200 Subject: [PATCH] add better comment to document the source of the hash_combine work --- Util/StdHashExtensions.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Util/StdHashExtensions.h b/Util/StdHashExtensions.h index d2f2fc4fe..fa51fa75c 100644 --- a/Util/StdHashExtensions.h +++ b/Util/StdHashExtensions.h @@ -32,7 +32,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include -// this is largely inspired by boost's hash combine +// this is largely inspired by boost's hash combine as can be found in +// "The C++ Standard Library" 2nd Edition. Nicolai M. Josuttis. 2012. template inline void hash_combine(std::size_t &seed, const T& val) {