[#BloombergLP-ball-UserFieldValue-2constructor-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue]::UserFieldValue
:relfileprefix: ../../../
:mrdocs:

Create a user field value having the specified string `value`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
UserFieldValue(
    std::string&lowbar;view const& value,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| string value
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


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