|
swift
|
Unmemoizer for Ts. Other types are passed through. More...
#include <memotable.h>
Public Member Functions | |
| template<typename T> | |
| CSequence< T > & | getTable () |
| Return reference to the flat list T table. | |
| template<typename T> | |
| auto | maybeUnmemoize (T &member) const |
| If T is in Ts, return proxy that will assign to member through the value at the given index in the flat list. Otherwise, return member as std::reference_wrapper. | |
Unmemoizer for Ts. Other types are passed through.
Definition at line 74 of file memotable.h.
|
inline |
Return reference to the flat list T table.
Definition at line 79 of file memotable.h.
|
inline |
If T is in Ts, return proxy that will assign to member through the value at the given index in the flat list. Otherwise, return member as std::reference_wrapper.
Definition at line 87 of file memotable.h.