BloombergLP::bdls::PathUtil::appendRaw

Append a filename to the end of a path.

Synopses

Declared in <bdls_pathutil.h>

Append a filename to the end of a path.

static
void
appendRaw(
    bsl::string* path,
    char const* filename,
    int length = -1,
    int rootEnd = -1);
» more...

Append a filename to the end of a path.

static
void
appendRaw(
    std::pmr::string* path,
    char const* filename,
    int length = -1,
    int rootEnd = -1);
» more...

Append a filename to the end of a path.

static
void
appendRaw(
    std::string* path,
    char const* filename,
    int length = -1,
    int rootEnd = -1);
» more...

Parameters

NameDescription
pathpath to which filename is appended
filenamenull-terminated filename to append
lengthmaximum number of characters of filename to append; if negative, append the entire string
rootEndif non-negative, position in path of the character following the root