<commit_before>//
// Created by redra on 07.07.17.
//

#ifndef ICC_HASH_HELPER_HPP
#define ICC_HASH_HELPER_HPP

#include <functional>

namespace std {

struct pair_hash {
  template <typename T1, typename T2>
  std::size_t operator () (const std::pair<T1, T2> & _p) const {
    auto h1 = std::hash<T1>{}(_p.first);
    auto h2 = std::hash<T2>{}(_p.second);<commit_msg>Added comments in header hash_helpers.hpp<commit_after>
/**
 * @file hash_helpers.hpp
 * @author <NAME>
 * @date 07 Jul 2017
 * @brief Contains helper functions and classes for <unordered_set> and <unordered_map>
 * header from standard library
 * @copyright <NAME>, MIT License. Open source: https://github.com/redradist/Inter-Component-Communication.git
 */

#ifndef ICC_HASH_HELPER_HPP
#define ICC_HASH_HELPER_HPP

#include <functional>

namespace std {

struct pair_hash {
  template <typename T1, typename T2>
  std::size_t operator () (const std::pair<T1, T2> & _p) const {
    auto h1 = std::hash<T1>{}(_p.first);
    auto h2 = std::hash<T2>{}(_p.second);
{'fraction_non_alphanumeric': 0.13883495145631067, 'fraction_numerical': 0.027184466019417475, 'mean_word_length': 4.603260869565218, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2985947', 'n_tokens_mistral': 398, 'n_tokens_neox': 372, 'n_words': 95}