[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread emilp at mac dot com
--- Comment #2 from emilp at mac dot com 2006-03-08 08:45 --- But isn't this problem already solved for the using directive. The code below compiles fine and works as expected. In fact, in the days of gcc 3, using could be used for namespaces and behaved exactly the way I would prefer.

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-03-08 14:59 --- I didn't make up the rules, so you're barking up the wrong tree :-) But the difference between using directives for names and namespace aliases is that a using directive is final: it imports a name into the present

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread emilp at mac dot com
--- Comment #4 from emilp at mac dot com 2006-03-08 15:23 --- I did come on a bit strong, didn't I? Sorry about that, I'm just a bit frustrated since it used to work better in the gcc 3 series :-) Do you have a suggestion as to where I could continue this discussion? --

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread bangerth at dealii dot org
--- Comment #5 from bangerth at dealii dot org 2006-03-08 15:26 --- (In reply to comment #4) I did come on a bit strong, didn't I? Sorry about that, I'm just a bit frustrated since it used to work better in the gcc 3 series :-) Oh, don't worry. I put a smiley to my remark, just in

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread emilp at mac dot com
--- Comment #6 from emilp at mac dot com 2006-03-08 16:47 --- I'm considering filing a defect report (for a standard clarification) to the commitee but I would like to make sure I'm not climbing any trees here... In your first reply you said My understanding is that this code is in fact

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-08 Thread bangerth at dealii dot org
--- Comment #7 from bangerth at dealii dot org 2006-03-08 17:21 --- (In reply to comment #6) I'm considering filing a defect report (for a standard clarification) to the commitee but I would like to make sure I'm not climbing any trees here... In your first reply you said My

[Bug c++/26448] unnecessary namespace-alias ambiguity

2006-03-07 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2006-03-08 04:52 --- My understanding is that this code is in fact invalid (and icc agrees with me). You may consider this part of the standard gratuitously unfriendly, but remember that namespace aliases form a directed graph and proving