|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
24 #include <boost/any.hpp>
43 std::lock_guard<std::mutex> lg(
mutex_);
50 std::lock_guard<std::mutex> lg(
mutex_);
56 const std::chrono::steady_clock::time_point &expire_at)
static void set(const KeyType &key, const T &obj, const std::chrono::steady_clock::time_point &expire_at)
UnderlyingRegistry::Clock Clock
bool has(const KeyType &key) const
static void erase(const KeyType &key)
A simple container that can holds object of any type.
std::chrono::steady_clock Clock
This is the header file for a generated source file, GitSHA1.cpp.
static UnderlyingRegistry registry_
std::enable_if_t< std::is_same< KeyType, std::string >::value &&!std::is_same< KeyType, const char * >::value, T > get(const std::string &key) const
Specialization for key of type std::string.
void set(const KeyType &key, const T &obj)
void erase(const KeyType &key)
Erase an entry for the store.
static T get(const KeyType &key)
static void set(const KeyType &key, const T &obj)
static bool has(const KeyType &key)
An application wide registry that can store objects of any type.