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;

Append a C string literal without inserting a directory separator.

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

Return Value

A reference to this object.

Parameters

Name

Description

s

The string that would be appended.

c

The null‐terminated string to append.

Created with MrDocs