qb
2.0.0.0
C++17 Actor Framework
|
Functional utilities, primarily for hash computations. More...
#include <functional>
Go to the source code of this file.
Functions | |
template<typename... Types> | |
size_t | qb::hash_combine (const Types &...args) |
Combines the hash values of multiple objects into a single hash value. |
Functional utilities, primarily for hash computations.
This file provides utility functions for combining hash values of multiple objects, which is useful for creating composite hash functions for custom types or for use in containers like qb::unordered_map and qb::unordered_set when a custom hasher for a key type is needed.
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.