Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-09-17 10:38:25

At 10:55 AM 9/17/2002, Vladimir Prus wrote:

>However, the following program on Linux says "Aborted".
>#include <boost/filesystem/path.hpp>
>#include <iostream>
>using namespace std;
>namespace fs = boost::filesystem;
>int main()
> fs::path p1("/home/ghost"), p2("/a/b/c");
> cout << (p1 << p2).file_path() << "\n";

Good! That's exactly what should have happened. See Doug Gregor's message
for the reasons.

Note that if you had used Boost.Test's program execution monitor (change
main() to cpp_main()) you would have gotten an error message describing the


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