mirror of git://gcc.gnu.org/git/gcc.git
The correct definition seems to be has_root_directory() for all systems we care about. PR libstdc++/83891 * include/bits/fs_path.h (path::is_absolute()): Use same definition for all operating systems. * include/experimental/bits/fs_path.h (path::is_absolute()): Likewise. * testsuite/27_io/filesystem/path/query/is_absolute.cc: New. * testsuite/27_io/filesystem/path/query/is_relative.cc: Fix comment. * testsuite/experimental/filesystem/path/query/is_absolute.cc: New. From-SVN: r260259 |
||
|---|---|---|
| .. | ||
| empty.cc | ||
| has_extension.cc | ||
| has_filename.cc | ||
| has_parent_path.cc | ||
| has_relative_path.cc | ||
| has_root_directory.cc | ||
| has_root_name.cc | ||
| has_root_path.cc | ||
| has_stem.cc | ||
| is_absolute.cc | ||
| is_relative.cc | ||