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
异常
| 本节未完成 |
参阅
| 赋值另一个路径 (公开成员函数) |