[#BloombergLP-bsls-AtomicInt-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicInt.adoc[AtomicInt]::AtomicInt
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bsls&lowbar;atomic&period;h&gt;`

Create an atomic integer object having the default value 0&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/AtomicInt/2constructor-0a.adoc[AtomicInt]();
----

[.small]#xref:BloombergLP/bsls/AtomicInt/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create an atomic integer object having the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/AtomicInt/2constructor-0e.adoc[AtomicInt](int value);
----

[.small]#xref:BloombergLP/bsls/AtomicInt/2constructor-0e.adoc[_» more&period;&period;&period;_]#


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