[#BloombergLP-ball-UserFields-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFields.adoc[UserFields]::UserFields :relfileprefix: ../../../ :mrdocs: Create a `UserFields` object having the same value as the specified `original` object. == Synopsis Declared in `<ball_userfields.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- UserFields( xref:BloombergLP/ball/UserFields.adoc[UserFields] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *original* | object to copy | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#