Opened 12 years ago

Closed 11 years ago

#4712 closed Bugs (fixed)

boost::filesystem::slash not found (v2)

Reported by: jpdobar@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Beman Dawes, 11 years ago

Resolution: fixed
Status: newclosed

Fixed by https://svn.boost.org/trac/boost/changeset/65818

The changeset was marked up to close the ticket, but that misfired so I'm closing it now.

Thanks,

--Beman

Note: See TracTickets for help on using tickets.