[#BloombergLP-balb-CustomString-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/CustomString.adoc[CustomString]::CustomString :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balb_testmessages.h>` Create an object of type `CustomString` having the default value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balb/CustomString/2constructor-07.adoc[CustomString](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balb/CustomString/2constructor-07.adoc[_» more..._]# Create an object of type `CustomString` having the value of the specified `original` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balb/CustomString/2constructor-00.adoc[CustomString]( xref:BloombergLP/balb/CustomString.adoc[CustomString] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balb/CustomString/2constructor-00.adoc[_» more..._]# Create an object of type `CustomString` having the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balb/CustomString/2constructor-04.adoc[CustomString]( xref:bsl/string.adoc[bsl::string] const& value, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balb/CustomString/2constructor-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default | *original* | object providing the value to copy | *value* | value to use |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#