Jules Bean <[EMAIL PROTECTED]> writes:

| Did you mean '...in only one function'?

Yes.

| I'm talking about having a simple using declaration for types referenced
| in this file.  I can't see that that's unacceptable.

I am very fond of the idea of keeping the global namespace as clean as
possible, I realize that with current compilers this is very hard, but
I still find it a nice goal.

So when putting "things" into a namespace, be it global or other we
keep the scope of that alias as small as possible.

| There are lots of actions you take in C++ which bring things into your
| namespace.  Every header file you include typically puts hundreds of
| symbols into your namespace, so I can't see why you shouldn't put a simple
| declaration which imports 1, or 2, or 3, symbols..

Perhaps not.

| But, it's you project ;-)  You set the coding rules, I'll follow them if I
| submit a patch...

Please :-)

        Lgb

Reply via email to