std::experimental::filesystem::path::concat,operator+=

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path
path& operator+=( const path& p );
(1) (filesystem TS)
path& operator+=( const string_type& x );
(2) (filesystem TS)
path& operator+=( const value_type* x );
(3) (filesystem TS)
path& operator+=( value_type x );
(4) (filesystem TS)
template< class Source >
path& operator+=( const Source& source );
(5) (filesystem TS)
template< class CharT >
path& operator+=( CharT x );
(6) (filesystem TS)
template< class Source >
path& concat( const Source& source );
(7) (filesystem TS)
template< class InputIt >
path& concat( InputIterator first, InputIterator last );
(8) (filesystem TS)

Concatenates the current path and the argument. Differently from append() or operator/=, separator is not appended.

1) Concatenates the current path and p.native()
2-4) Concatenates the current path and x
5,7) Concatenates the current path and the effective argument. The argument is firstly converted to path::value_type if such conversion is necessary.
6) Concatenates the current path and x.
8) Concatenates the current path and the range [first, last).

Contents

[edit] Parameters

p - path to append
source - effective argument to append
first, last - the range to append
Type requirements
-
InputIt must meet the requirements of InputIterator.
-
The value type of InputIt must be one of the encoded character types (char, wchar_t, char16_t and char32_t)
-
CharT must be one of the encoded character types (char, wchar_t, char16_t and char32_t)

[edit] Return value

*this

[edit] Exceptions

[edit] See also