|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52410 - trunk/boost/filesystem
From: bdawes_at_[hidden]
Date: 2009-04-15 21:51:05
Author: bemandawes
Date: 2009-04-15 21:51:05 EDT (Wed, 15 Apr 2009)
New Revision: 52410
URL: http://svn.boost.org/trac/boost/changeset/52410
Log:
Fix #2948 - Path typedef moved to namespace boost::filesystem
Text files modified:
trunk/boost/filesystem/operations.hpp | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
Modified: trunk/boost/filesystem/operations.hpp
==============================================================================
--- trunk/boost/filesystem/operations.hpp (original)
+++ trunk/boost/filesystem/operations.hpp 2009-04-15 21:51:05 EDT (Wed, 15 Apr 2009)
@@ -40,6 +40,14 @@
namespace std { using ::time_t; }
# endif
+//----------------------------------------------------------------------------//
+
+namespace boost
+{
+ namespace filesystem
+ {
+
+// typedef boost::filesystem::path Path; needs to be in namespace boost::filesystem
# ifndef BOOST_FILESYSTEM_NARROW_ONLY
# define BOOST_FS_FUNC(BOOST_FS_TYPE) \
template<class Path> typename boost::enable_if<is_basic_path<Path>, \
@@ -55,12 +63,6 @@
# define BOOST_FS_TYPENAME
# endif
-//----------------------------------------------------------------------------//
-
-namespace boost
-{
- namespace filesystem
- {
template<class Path> class basic_directory_iterator;
// BOOST_FILESYSTEM_NARROW_ONLY needs this:
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk