BloombergLP::bdls::FilesystemUtil_CStringUtil::flatten

Return the result of invoking c_str() on the specified string.

Synopsis

Declared in <bdls_filesystemutil.h>

static
char const*
flatten(bsl::string const& string);

Description

Return a null-terminated C string for the specified string.

Return Value

the null-terminated C string from string.c_str()

Parameters

NameDescription
stringstring whose c_str() result is returned