$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-17 10:12:58
On Tuesday 17 September 2002 10:55 am, Vladimir Prus wrote:
> Oh, I entirely missed the fact that operator << works with paths...
> However, the following program on Linux says "Aborted".
You might want to catch that exception :)
> fs::path p1("/home/ghost"), p2("/a/b/c");
Both of these are system-specific paths (because of the leading '/'), so the
exception actually comes from here. Change to:
fs::path p1("/home/ghost", fs::system_specific),
p2("/a/b/c", fs::system_specific);
With that change, I get the result:
/home/ghost/a/b/c
Doug