PR libstdc++/90634 * include/experimental/bits/fs_path.h (path::path(path&&)): Only call _M_split_cmpts() for a path with multiple components. (path::_S_is_dir_sep()): Add missing 'static' keyword to function. * src/filesystem/path.cc (path::_M_split_cmpts()): Count number of components and reserve space in vector. Return early when there is only one component. * testsuite/27_io/filesystem/path/construct/90634.cc: New test. * testsuite/experimental/filesystem/path/construct/90634.cc: New test. From-SVN: r271717
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| append | Loading commit data... | |
| assign | Loading commit data... | |
| compare | Loading commit data... | |
| concat | Loading commit data... | |
| construct | Loading commit data... | |
| decompose | Loading commit data... | |
| generic | Loading commit data... | |
| itr | Loading commit data... | |
| modifiers | Loading commit data... | |
| native | Loading commit data... | |
| nonmember | Loading commit data... | |
| query | Loading commit data... | |
| preferred_separator.cc | Loading commit data... |