Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Templates: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9448 of 10094
Post > Topic >>

Re: Templates: default template argument in a friend class template declaration

by Oncaphillis <oncaphillis@[EMAIL PROTECTED] > Apr 1, 2008 at 08:43 AM

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! ]
 




 1 Posts in Topic:
Re: Templates: default template argument in a friend class templ
Oncaphillis <oncaphill  2008-04-01 08:43:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 18:26:16 CDT 2008.