Boost C++ Libraries: Ticket #4712: boost::filesystem::slash not found (v2) https://svn.boost.org/trac10/ticket/4712 <p> We are upgrading from boost 1.44 from 1.40. When compiling code using boost::filesystem::slash, I get the error: </p> <p> "error C2039: 'slash' : is not a member of 'boost::filesystem'" </p> <p> The version of filesystem in use is v2. </p> <p> A quick fix for me was to change include\boost-1_44\boost\filesystem\v2\path.hpp to add: </p> <blockquote> <p> using filesystem2::slash; </p> </blockquote> <p> to the filesystem namespace at line 1531. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4712 Trac 1.4.3 Beman Dawes Mon, 10 Oct 2011 19:24:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4712#comment:1 https://svn.boost.org/trac10/ticket/4712#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed by <a class="ext-link" href="https://svn.boost.org/trac/boost/changeset/65818"><span class="icon">​</span>https://svn.boost.org/trac/boost/changeset/65818</a> </p> <p> The changeset was marked up to close the ticket, but that misfired so I'm closing it now. </p> <p> Thanks, </p> <p> --Beman </p> Ticket