mrdocs::files::appendPath

appendPath overloads

Synopses

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

std::string
appendPath(
    std::string_view basePath,
    std::string_view name);

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);

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);

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);

Return Value

Combined path string.

Parameters

Name

Description

basePath

Base path.

name

Component to append.

name1

First component to append.

name2

Second component to append.

name3

Third component to append.

name4

Fourth component to append.

Created with MrDocs