Jean-Marc Lasgouttes wrote:

>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]>
>>>>>> writes:
> 
> Angus> Here's an alternative, pure C++ way, that's just been posted to
> Angus> c.l.c++.m by 'tom_usenet'.
> 
> I am not sure that I understand how this solution would apply to Path.
> 
> JMarc

Instead of
        Path p("/tmp");
We would write
        Path p("/tmp", p);

Both strategies prevent
        Path("/tmp");
but our current approach does this with the help of the preprocessor whilst
the solution posted to c.l.c++.m is pure C++.

I found it interesting, that's all, and thought I would share it.

-- 
Angus

Reply via email to