[#BloombergLP-balb-CustomString-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/CustomString.adoc[CustomString]::CustomString :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CustomString( xref:bsl/string.adoc[bsl::string] const& value, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#