Re: Enforce support::path correct usage using C++ only

2004-07-05 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > | Angus> Instead of Path p("/tmp"); We would write Path p("/tmp", p); > | So one forces a nasty syntax just to avoid improper use. That does not | seem very nice to me. agreed. | Angus>

Re: Enforce support::path correct usage using C++ only

2004-07-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Instead of Path p("/tmp"); We would write Path p("/tmp", p); So one forces a nasty syntax just to avoid improper use. That does not seem very nice to me. Angus> Both strategies prevent Path("/tmp"); but our current approach Angus>

Re: Enforce support::path correct usage using C++ only

2004-07-02 Thread Angus Leeming
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 Ins

Re: Enforce support::path correct usage using C++ only

2004-07-02 Thread Jean-Marc Lasgouttes
> "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