[#CCoinsViewCache-ResetGuard] = xref:CCoinsViewCache.adoc[CCoinsViewCache]::ResetGuard :relfileprefix: ../ :mrdocs: Scope guard that calls Reset() on its cache when it goes out of scope. == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ResetGuard; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CCoinsViewCache/ResetGuard/2constructor-0f.adoc[`ResetGuard`] [.small]#[constructor]# | Constructors | xref:CCoinsViewCache/ResetGuard/2destructor.adoc[`~ResetGuard`] [.small]#[destructor]# | Reset the guarded cache when the guard is destroyed. | xref:CCoinsViewCache/ResetGuard/operator_assign-0b.adoc[`operator=`] | Assignment operators |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:CCoinsViewCache.adoc[CCoinsViewCache]` | CCoinsView that adds a memory cache for transactions to another CCoinsView |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#