| 348 | } |
| 349 | |
| 350 | path path::parent_path() const |
| 351 | { |
| 352 | size_type end_pos(m_parent_path_end()); |
| 353 | return end_pos == string_type::npos |
| 354 | ? path() |
| 355 | : path(m_pathname.c_str(), m_pathname.c_str() + end_pos); |
| 356 | } |
| 357 | |
| 358 | path path::filename() const |
| 359 | { |