BloombergLP::bdls::FilesystemUtil::makeUnsafeTemporaryFilename

Construct a temporary file name by appending a suffix to prefix.

Synopsis

Declared in <bdls_filesystemutil.h>

static
void
makeUnsafeTemporaryFilename(
    std::pmr::string* outPath,
    std::string_view const& prefix);

Description

Same as the overload taking bsl::string *.

Parameters

NameDescription
outPathreceives the constructed file name
prefixprefix of the generated file name