|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2003-08-21 07:14:33
>
> path x('foo/bar', portable_check);
> path y('baz', native_check);
>
> path z = x/y; // Which checks are made?
>
> path q = z/y; // which checks are made?
>
I guess it should be pretty easy.
In the first case, use x's checks, and in the second case, use z's checks,
since '/y' is relative to x (first case) or z (second case).
It seems quite straightforward to me.
Best,
John
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk