std::experimental::filesystem::path::path

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path
path();
(1) (filesystem TS)
path( const path& p );
(2) (filesystem TS)
path( path&& p );
(3) (filesystem TS)
template< class Source >
path( const Source& source );
(4) (filesystem TS)
template< class InputIt >
path( InputIt first, InputIt last );
(5) (filesystem TS)
template< class Source >
path( const Source& source, const std::locale& loc );
(6) (filesystem TS)
template< class InputIt >
path( InputIt first, InputIt last, const std::locale& loc );
(7) (filesystem TS)

Constructs a new path object.

1) Constructs an empty path.
2) Copy constructor. Constructs a copy of p.
3) Move constructor. Constructs a copy of p, p is left in valid but unspecified state.
4-7) Constructs the path from either a range of source (4,6) or a range [first, last) (5,7). The format and encoding are converted, if needed.
4-5)
6-7) Uses loc to perform the encoding conversion. If value_type is wchar_t, converts to native wide encoding using the std::codecvt<wchar_t,char> of loc. Otherwise, the conversion firstly is performed using the std::codecvt<wchar_t,char> facet and is followed by second conversion to the current byte encoding.

[edit] Parameters

p - a path to copy
source - todo
first, last - a range of characters to initialize with
loc - locale that defines encoding conversion to use
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)

[edit] Exceptions

1-2) (none)
3)
noexcept specification:  
noexcept
  
4-7) (none)