| 304 | } |
| 305 | |
| 306 | path path::root_directory() const |
| 307 | { |
| 308 | size_type pos(root_directory_start(m_pathname, m_pathname.size())); |
| 309 | |
| 310 | return pos == string_type::npos |
| 311 | ? path() |
| 312 | : path(m_pathname.c_str() + pos, m_pathname.c_str() + pos + 1); |
| 313 | } |
| 314 | |
| 315 | path path::relative_path() const |
| 316 | { |