[#CoinsViewCacheCursor-NextAndMaybeErase]
= xref:CoinsViewCacheCursor.adoc[CoinsViewCacheCursor]::NextAndMaybeErase
:relfileprefix: ../
:mrdocs:

Return the next entry after current, possibly erasing current

== Synopsis

Declared in `&lt;coins&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CoinsCachePair.adoc[CoinsCachePair]*
NextAndMaybeErase(xref:CoinsCachePair.adoc[CoinsCachePair]& current) noexcept;
----

== Return Value

Pointer to the next flagged entry&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *current*
| The entry to advance past, which may be erased or unflagged&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
