Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37806677
en ru br
ALT Linux repos
S:1.83.0-alt2
D:1.37.0-alt2
5.0: 1.36.0-alt4
4.1: 1.34.1-alt1
4.0: 1.33.1-alt4
3.0: 1.32.0-alt2

Group :: Development/C++
RPM: boost

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: boost-1.36.0-svn-r48374-filesystem-fixes.patch
Download


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(); }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin