提交 e1836a1e 编写于 作者: A Alexey Milovidov

dbms: addition to prev. revision [#METR-18213].

上级 c1bb394e
......@@ -21,7 +21,10 @@ template <typename F, F* f>
class SimpleCache
{
private:
using Key = typename function_traits<F>::arguments;
template <typename... T>
using tuple_with_removed_refs = std::tuple<typename std::remove_reference<T>::type...>;
using Key = typename function_traits<F>::arguments_remove_reference;
using Result = typename function_traits<F>::result;
std::map<Key, Result> cache;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册