Subject: [Boost-bugs] [Boost C++ Libraries] #4712: boost::filesystem::slash not found (v2)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-05 11:00:28
#4712: boost::filesystem::slash not found (v2)
-------------------------------+--------------------------------------------
Reporter: jpdobar@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
We are upgrading from boost 1.44 from 1.40. When compiling code using
boost::filesystem::slash, I get the error:
"error C2039: 'slash' : is not a member of 'boost::filesystem'"
The version of filesystem in use is v2.
A quick fix for me was to change include\boost-
1_44\boost\filesystem\v2\path.hpp to add:
using filesystem2::slash;
to the filesystem namespace at line 1531.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4712> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC