[#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. Use the optionally specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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. Use the optionally specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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`. Use the optionally specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#