Append a relative filename to the end of a path.
Declared in <bdls_pathutil.h>
static
int
appendIfValid(
std::string* path,
std::string_view const& filename);
Same as the overload taking bsl::string *.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| path | path to which filename is appended |
| filename | relative path component to append |