Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-03-15 14:17:10

Feature Requests item #1163952, was opened at 2005-03-15 22:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Serg Repalov (rsrus)
Assigned to: Nobody/Anonymous (nobody)
Summary: handle double '/' in the boost::filesystem

Initial Comment:

Sometimes I make some path by hand. For example

  std::string str = "./";
  //... some code ....
  std::string str2 = str + "/path/to/file";

The result is ".//path/to/file". If I try to make path
from it:

   boost::filesystem::path fs_path2(str2, fs::native);

I got exception. Is it possible to correct function


to handle this situation (double/triple/... separator
in the middle of string)?


You can respond by visiting:

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at