[#BloombergLP-bdldfp-DecimalUtil_CStringUtil-flatten-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil.adoc[DecimalUtil_CStringUtil]::flatten :relfileprefix: ../../../ :mrdocs: `flatten` overloads == Synopses Declared in `<bdldfp_decimalutil.h>` Return a temporary `bsl::string` constructed from the specified `stringRef`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/string.adoc[bsl::string] xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0a.adoc[flatten](xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& stringRef); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0a.adoc[_» more..._]# Return the result of invoking 'c_str()' on the specified 'string'. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0f4.adoc[flatten](xref:bsl/string.adoc[bsl::string] const& string); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0f4.adoc[_» more..._]# Same as the related overload above for `flatten`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0bb.adoc[flatten](std::pmr::string const& string); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0bb.adoc[_» more..._]# Same as the overload taking `bsl::string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0c.adoc[flatten](std::string const& string); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0c.adoc[_» more..._]# Same as the related overload above for `flatten`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0f8.adoc[flatten](char* cString); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0f8.adoc[_» more..._]# Return the specified `cString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0b8.adoc[flatten](char const* cString); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-0b8.adoc[_» more..._]# Produce a compile‐time error informing the caller that the parameterized `TYPE` is not supported as the parameter for the call. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static char const* xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-03.adoc[flatten](TYPE const&); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil/flatten-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#