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

Synopses

Declared in <bdls_filesystemutil.h>

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

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

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

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

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

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

Parameters

Name

Description

outPath

receives the constructed file name

prefix

prefix of the generated file name

Created with MrDocs