Definition at line 79 of file memoized.h.
#include <memoized.h>
Public Types | |
using | key_t = bool |
using | value_t = Ret |
Public Member Functions | |
template<typename F > | |
auto | memoize (bool is_complete, F f, bool arg) const |
void | invalidate (bool key) const |
Private Attributes | |
std::optional< Ret > | true_value_ |
std::optional< Ret > | false_value_ |
using clanguml::util::memoized< T, Ret, bool >::key_t = bool |
Definition at line 81 of file memoized.h.
using clanguml::util::memoized< T, Ret, bool >::value_t = Ret |
Definition at line 82 of file memoized.h.
|
inline |
Definition at line 101 of file memoized.h.
|
inline |
Definition at line 84 of file memoized.h.
|
mutableprivate |
Definition at line 111 of file memoized.h.
|
mutableprivate |
Definition at line 110 of file memoized.h.