[#Arena-addressInArena]
= xref:Arena.adoc[Arena]::addressInArena
:relfileprefix: ../
:mrdocs:

Return whether a pointer points inside this arena&period; This returns base &lt;&equals; ptr &lt; (base&plus;size) so only use it for (inclusive) chunk starting addresses&period;

== Synopsis

Declared in `&lt;support&sol;lockedpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
addressInArena(void* ptr) const;
----

== Return Value

True when the pointer lies within this arena&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| Pointer to test against the arena&apos;s bounds&period;
|===


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