fix meson

This commit is contained in:
chatlanin
2022-03-28 11:38:18 +03:00
parent eff097a059
commit 2a57555436
4 changed files with 4 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <map>
#include <functional>
namespace hack::utils
{
@@ -24,20 +25,3 @@ namespace hack::utils
};
}
}
// std::map<std::tuple<Args...>, Result> cache;
//
// return [f, cache](Args... args) mutable -> Result
// {
// const auto args_tuple = std::make_tuple(args...);
// const auto cached = cache.find(args_tuple);
//
// if (cached == cache.end())
// {
// auto result = f(args...);
// cache[args_tuple] = result;
// return result;
// }
// else
// return cached->second