|
Boost Users : |
From: Richard Wolf (rwolf_at_[hidden])
Date: 2004-11-29 19:30:34
Hi
I'm trying to use the filesystem library, and I get an abort when trying
to initialise a path object with a string containing a space.
#include <boost/filesystem/path.hpp>
#include <iostream>
int main()
{
boost::filesystem::path p1("hello");
std::cout << p1.string();
boost::filesystem::path p2("hello world");
std::cout << p2.string();
}
when run, this prints:
helloAborted
I couldn't find anything saying that the string path constructor can't
contain a space.
Am I doing something wrong, or is this a bug?
Using gcc 3.3.4 on Debian.
thanks,
Richard
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net