mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Use memoizes
instead of mnemonizes
in the context of caching (#1383)
* Use `memoizes` instead of `mnemonizes` in the context of caching While apparently, 'mnemonizes' is a word, I don't think it's the best choice here. * Update isocpp.dic
This commit is contained in:
parent
c1beff1941
commit
f67e91d295
|
@ -16256,7 +16256,7 @@ e.g. because it is in a library that you cannot modify.
|
|||
|
||||
A `const` member function can modify the value of an object that is `mutable` or accessed through a pointer member.
|
||||
A common use is to maintain a cache rather than repeatedly do a complicated computation.
|
||||
For example, here is a `Date` that caches (mnemonizes) its string representation to simplify repeated uses:
|
||||
For example, here is a `Date` that caches (memoizes) its string representation to simplify repeated uses:
|
||||
|
||||
class Date {
|
||||
public:
|
||||
|
|
|
@ -304,6 +304,7 @@ memcmp
|
|||
memmove
|
||||
memoization
|
||||
memoized
|
||||
memoizes
|
||||
memset
|
||||
metameta
|
||||
metaprogram
|
||||
|
|
Loading…
Reference in New Issue
Block a user