blob: 9d6122118b9d02669120c1f9c64f00ab05e482f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Index: /trunk/boost/filesystem/path.hpp
===================================================================
--- /trunk/boost/filesystem/path.hpp (revision 47923)
+++ /trunk/boost/filesystem/path.hpp (revision 48374)
@@ -230,4 +230,6 @@
string_type leaf() const { return filename(); }
basic_path branch_path() const { return parent_path(); }
+ bool has_leaf() const { return !m_path.empty(); }
+ bool has_branch_path() const { return !parent_path().empty(); }
# endif
@@ -238,5 +240,5 @@
bool has_root_directory() const;
bool has_relative_path() const { return !relative_path().empty(); }
- bool has_filename() const { return !m_path.empty(); }
+ bool has_filename() const { return !m_path.empty(); }
bool has_parent_path() const { return !parent_path().empty(); }
|