swift
|
Memoizer for Ts. Other types are passed through. More...
Public Member Functions | |
template<typename T > | |
decltype(auto) | maybeMemoize (const T &member) |
If T is in Ts, return the index of member in the memo table. Otherwise, return member. | |
template<typename T > | |
const CSequence< T > & | getTable () const |
Return the values in the T table as a flat list. | |
Memoizer for Ts. Other types are passed through.
Definition at line 48 of file memotable.h.