| 149 | |
| 150 | template <typename F> |
| 151 | ThreadUnsafeMemoizer(F&& func, int32_t cache_capacity) |
| 152 | : func_(std::forward<F>(func)), cache_(cache_capacity) {} |
| 153 | |
| 154 | const Value& operator()(const Key& key) { |
| 155 | const Value* value_ptr; |
nothing calls this directly
no outgoing calls
no test coverage detected