[#absl-Cord-EstimatedMemoryUsage]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::EstimatedMemoryUsage
:relfileprefix: ../../
:mrdocs:

Returns the _approximate_ number of bytes held by this cord&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;cord&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
EstimatedMemoryUsage(xref:absl/CordMemoryAccounting.adoc[CordMemoryAccounting] accounting&lowbar;method = CordMemoryAccounting&colon;&colon;kTotal) const;
----

== Description

See CordMemoryAccounting for more information on the accounting method&period;

== Return Value

The approximate number of bytes held by the Cord&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *accounting&lowbar;method*
| The accounting mode used for the estimate&period;
|===


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