I have been reading through the Boost Filesystem library trying to get a feel for syntax. I'm looking at the current version available through sourceforge (1.33.1). I also noticed that the sourceforge version is different than the CVS version.
<br><br>Anyway:<br><br>file: /libs/fileystem/src/path_posix_windows.cpp<br><br>function: m_path_append(const std::string&amp;, name_checker)<br><br>lines: 305 -311<br><br>// append &#39;/&#39; if needed<br>if( !empty() <br>
#ifdef BOOST_WINDOWS<br>&amp;&amp; *(m_path.end()-1) != &#39;:&#39; // QUESTION related to this<br>#endif<br>&amp;&amp; *(m_path.end()-1) != &#39;/&#39; )<br>m_path += &#39;/&#39;;<br><br>-------------------------------------------------------------
<br><br>The line in question appears to be a typo and should actually read<br>&amp;&amp; *(m_path.end()-1) != &#39;\\&#39;<br><br>Has this gone past the radar or do my eyes decieve me?<br>