Computed mappings have several draw backs, including mainly the use of proxy references. We could introduce a mapping that provides storage again for computed values and acts a cache to the computed values, storing them on construction/first retrieval etc. Such a caching mapping could return l-value references again.
Computed mappings have several draw backs, including mainly the use of proxy references. We could introduce a mapping that provides storage again for computed values and acts a cache to the computed values, storing them on construction/first retrieval etc. Such a caching mapping could return l-value references again.