Stores cache global static, requires locking on write access. More...
Public Types | |
using | key_type = typename Container::key_type |
using | data_type = typename Container::mapped_type |
using | container_type = Container |
Static Public Member Functions | |
template<class F , class... Args> | |
static data_type const & | get_or_init (key_type const &key, F &&f, Args &&... args) |
Stores cache global static, requires locking on write access.