mirror of
https://github.com/NixOS/nix
synced 2025-07-06 17:31:47 +02:00
parent
2e2198fd91
commit
02f0294be0
41 changed files with 161 additions and 124 deletions
|
@ -1,14 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
//!@file Hashing utilities for use with unordered_map, etc. (ie low level implementation logic, not domain logic like
|
||||
//! Nix hashing)
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* Hashing utilities for use with `std::unordered_map`, etc. (i.e. low
|
||||
* level implementation logic, not domain logic like Nix hashing).
|
||||
*/
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace nix {
|
||||
|
||||
/**
|
||||
* hash_combine() from Boost. Hash several hashable values together
|
||||
* `hash_combine()` from Boost. Hash several hashable values together
|
||||
* into a single hash.
|
||||
*/
|
||||
inline void hash_combine(std::size_t & seed) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue