Cachemere
Modular Caching Library for C++
bind.h
1 #ifndef CACHEMERE_POLICY_BIND_H
2 #define CACHEMERE_POLICY_BIND_H
3 
4 namespace cachemere::policy {
5 
7 template<template<typename...> class Policy, typename... Args> struct bind {
8  template<typename K, typename KH, typename V> using ttype = Policy<K, KH, V, Args...>;
9 };
10 
11 } // namespace cachemere::policy
12 
13 #endif
cachemere::policy::bind
Binds a Policy<K, KH, V, Args...> template to a Policy<K, KH, V> template to be used with the cache.
Definition: bind.h:7