Opened 14 years ago
Closed 14 years ago
#2948 closed Bugs (fixed)
boost/filesystem/operations.hpp needs boost namespace around Path definition
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.39.0 | Component: | filesystem |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In version 1.38.0 Path should be defined within the boost namespace.
# ifndef BOOST_FILESYSTEM_NARROW_ONLY # define BOOST_FS_FUNC(BOOST_FS_TYPE) \
template<class Path> typename boost::enable_if<is_basic_path<Path>, \ BOOST_FS_TYPE>::type
# define BOOST_INLINE_FS_FUNC(BOOST_FS_TYPE) \
template<class Path> inline typename boost::enable_if<is_basic_path<Path>, \ BOOST_FS_TYPE>::type
# define BOOST_FS_TYPENAME typename # else # define BOOST_FS_FUNC(BOOST_FS_TYPE) inline BOOST_FS_TYPE # define BOOST_INLINE_FS_FUNC(BOOST_FS_TYPE) inline BOOST_FS_TYPE # typedef boost::filesystem::path Path; # define BOOST_FS_TYPENAME # endif
----------------------------------------------------------------------------
namespace boost {
namespace filesystem {
(In [52410]) Fix #2948 - Path typedef moved to namespace boost::filesystem