add better comment to document the source of the hash_combine work

This commit is contained in:
Dennis Luxen 2014-06-26 10:55:42 +02:00
parent 4c0b315c07
commit 39d479128c

View File

@ -32,7 +32,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <functional>
// 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<typename T>
inline void hash_combine(std::size_t &seed, const T& val)
{