>>>>> "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> does this with the help of the preprocessor whilst the solution
Angus> posted to c.l.c++.m is pure C++.

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

I see now what it does. Actually, when reading it, I was wondering
where was the trick to avoid actually supplying the second
parameter...

JMarc

Reply via email to