Files
2025-10-25 03:02:53 +03:00

1.8 KiB

[fs.path.concat]

31 Input/output library [input.output]

31.12 File systems [filesystems]

31.12.6 Class path [fs.class.path]

31.12.6.5 Members [fs.path.member]

31.12.6.5.4 Concatenation [fs.path.concat]

🔗

path& operator+=(const path& x); path& operator+=(const string_type& x); path& operator+=(basic_string_view<value_type> x); path& operator+=(const value_type* x); template<class Source> path& operator+=(const Source& x); template<class Source> path& concat(const Source& x);

1

#

Effects: Appends path(x).native() to the pathname in the native format.

[Note 1:

This directly manipulates the value of native(), which is not necessarily portable between operating systems.

— end note]

2

#

Returns: *this.

🔗

path& operator+=(value_type x); template<class EcharT> path& operator+=(EcharT x);

3

#

Effects: Equivalent to: return *this += basic_string_view(&x, 1);

🔗

template<class InputIterator> path& concat(InputIterator first, InputIterator last);

4

#

Effects: Equivalent to: return *this += path(first, last);