std::experimental::filesystem::path::assign
來自 cppreference.com
< cpp | experimental | fs | path
template< class Source > path& assign( const Source& source ); |
(1) | (檔案系統 TS) |
template< class InputIt > path& assign( InputIt first, InputIt last ); |
(2) | (檔案系統 TS) |
將內容賦值給 `path` 物件。
1) 賦值 source 的範圍。
本節不完整 |
2) 賦值由範圍 `[first`,` last`)` 標識的路徑名。
目錄 |
[編輯] 引數
source | - | 要賦值的範圍 |
first, last | - | 要賦值的範圍 |
型別要求 | ||
-InputIt 必須滿足 LegacyInputIterator 的要求。 | ||
-`InputIt` 的值型別必須是編碼字元型別之一(char、wchar_t、char16_t 和 char32_t)。 |
[編輯] 返回值
*this
[編輯] 異常
本節不完整 |
[編輯] 另請參閱
賦值另一個路徑 (公共成員函式) |