mrdocs::files::appendPath

appendPath overloads

Synopses

Declared in <mrdocs/Support/Path.hpp>

Append a component to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name);
» more...

Append two components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2);
» more...

Append three components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2,
    std::string_view name3);
» more...

Append four components to a base path using the native separator.

std::string
appendPath(
    std::string_view basePath,
    std::string_view name1,
    std::string_view name2,
    std::string_view name3,
    std::string_view name4);
» more...

Return Value

Combined path string.

Parameters

NameDescription
basePathBase path.
nameComponent to append.
name1First component to append.
name2Second component to append.
name3Third component to append.
name4Fourth component to append.