#pragma once #include "cache.h" void show_histogram(const Caches& cc, std::string Cache::*ptr, std::string caption, bool html = 0, bool sort_by_val = 1); bool same_day(const std::tm& a, const std::tm& b); void next_day(std::tm& a); int find_streak(const std::multimap& cc, std::tm& start);