From: Oncaphillis on
Alberto Ganesh Barbati wrote:
> Oncaphillis ha scritto:
>>
>> I guess "shall not" can always be replaced by
>> "shall not but can" in the standard.
>
> Please, do not spread incorrect interpretations of the standard. In ISO
> terminology the verb "to shall" always expresses a requirement. In
> particular the expression "shall not" can be used to convey *only* these
> meanings:
>
> - is not allowed [permitted] [acceptable] [permissible]
> - is required to be not
> - is required that � be not
> - is not to be

You're right. I didn't look at it close enough. Both compilers violate
the standard.

I had a look at the upcoming g++ 4.4 snapshot and it also tolerates
default template args in friend declarations.

O.



--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]