add better comment to document the source of the hash_combine work
This commit is contained in:
parent
4c0b315c07
commit
39d479128c
@ -32,7 +32,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include <functional>
|
#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>
|
template<typename T>
|
||||||
inline void hash_combine(std::size_t &seed, const T& val)
|
inline void hash_combine(std::size_t &seed, const T& val)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user