| Technical Specification | ||||
| Filesystem library(filesystem TS) | ||||
| Library fundamentals(library fundamentals TS) | ||||
| Library fundamentals 2(library fundamentals TS v2) | ||||
| Library fundamentals 3(library fundamentals TS v3) | ||||
| Extensions for parallelism(parallelism TS) | ||||
| Extensions for parallelism 2(parallelism TS v2) | ||||
| Extensions for concurrency(concurrency TS) | ||||
| Extensions for concurrency 2(concurrency TS v2) | ||||
| Concepts(concepts TS) | ||||
| Ranges(ranges TS) | ||||
| Reflection(reflection TS) | ||||
| Mathematical special functions(special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
| Classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Path decomposition | ||||
| Non-member functions | ||||
path& operator=(const path& p); | (1) | (filesystem TS) |
path& operator=( path&& p); | (2) | (filesystem TS) |
template<class Source> path& operator=(const Source& source); | (3) | (filesystem TS) |
Contents |
| p | - | a path to assign |
| source | - | astd::basic_string, pointer to a null-terminated character/wide character string, or an input iterator that points to a null-terminated character/wide character sequence. The character type must be one ofchar,char16_t,char32_t,wchar_t |
*this
#include <experimental/filesystem>namespace fs= std::experimental::filesystem; int main(){ fs::path p="C:/users/abcdef/AppData/Local"; p= p/"Temp";// move assignmentconstwchar_t* wstr= L"D:/猫.txt"; p= wstr;// assignment from a source}
| assigns contents (public member function)[edit] | |
constructs apath(public member function)[edit] |