[#BloombergLP-ball-UserFields-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFields.adoc[UserFields]::UserFields
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;ball&lowbar;userfields&period;h&gt;`

Create an empty `UserFields` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/ball/UserFields/2constructor-09.adoc[UserFields](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/UserFields/2constructor-09.adoc[_» more&period;&period;&period;_]#

Create a `UserFields` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/UserFields/2constructor-0f.adoc[UserFields](
    xref:BloombergLP/ball/UserFields.adoc[UserFields] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/UserFields/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *original*
| object to copy
|===


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