Append a relative filename to the end of a path.
Synopses
Declared in <bdls_pathutil.h>
Append a relative filename to the end of a path.
static
int
appendIfValid(
bsl::string* path,
std::string_view const& filename);
Append a relative filename to the end of a path.
static
int
appendIfValid(
std::pmr::string* path,
std::string_view const& filename);
Append a relative filename to the end of a path.
static
int
appendIfValid(
std::string* path,
std::string_view const& filename);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
path |
path to which |
filename |
relative path component to append |
Created with MrDocs