[#BloombergLP-bsls-AtomicOperations_DefaultPointer32-getPtrAcquire]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicOperations_DefaultPointer32.adoc[AtomicOperations&lowbar;DefaultPointer32]::getPtrAcquire
:relfileprefix: ../../../
:mrdocs:

Atomically retrieve the value of the specified `atomicPtr`, providing the acquire memory ordering guarantee&period;

== Synopsis

Declared in `&lt;bsls&lowbar;atomicoperations&lowbar;default&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void*
getPtrAcquire(AtomicTypes::Pointer const* atomicPtr);
----

== Return Value

current value of `atomicPtr`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *atomicPtr*
| atomic pointer whose value is read
|===


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