[#BloombergLP-bdls-FilesystemUtil_CStringUtil-flatten-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil_CStringUtil.adoc[FilesystemUtil_CStringUtil]::flatten :relfileprefix: ../../../ :mrdocs: `flatten` overloads == Synopses Declared in `<bdls_filesystemutil.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/bdls/FilesystemUtil_CStringUtil/flatten-0c9.adoc[flatten](xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& stringRef); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0c9.adoc[_» more..._]# Return the result of invoking `c_str()` on the specified `string`. Return a null‐terminated C string for the specified `string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0cf.adoc[flatten](xref:bsl/string.adoc[bsl::string] const& string); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0cf.adoc[_» more..._]# Return a null‐terminated C string for the specified `string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-07.adoc[flatten](std::pmr::string const& string); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-07.adoc[_» more..._]# Return a null‐terminated C string for the specified `string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0c6.adoc[flatten](std::string const& string); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0c6.adoc[_» more..._]# Return a temporary `bsl::string` constructed from the specified `stringView`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/string.adoc[bsl::string] xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0a.adoc[flatten](std::string_view const& stringView); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0a.adoc[_» more..._]# Return the specified `cString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-06.adoc[flatten](char* cString); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-06.adoc[_» more..._]# Return the specified `cString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0e0.adoc[flatten](char const* cString); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0e0.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/bdls/FilesystemUtil_CStringUtil/flatten-0e5.adoc[flatten](TYPE const&); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil_CStringUtil/flatten-0e5.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#