fs::path::append

append overloads

Synopses

Declared in <util/fs.h>

Deleted to forbid appending a std::string, which decodes locale-dependently on Windows.

path&
append(std::string s) = delete;
» more...

Append a C string literal without inserting a directory separator.

path&
append(char const* c);
» more...
template<class _Source>
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
append(_Source const& __src);
» more...
template<class _InputIt>
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
append(
    _InputIt __first,
    _InputIt __last);
» more...

Return Value

A reference to this object.

Parameters

NameDescription
sThe string that would be appended.
cThe null-terminated string to append.