[C++-sig] Re: Problems with Pyste from CVS.

Nicodemus nicodemus at globalite.com.br
Sat Jul 5 02:59:04 CEST 2003


David Abrahams wrote:

>Nicodemus <nicodemus at globalite.com.br> writes:
>
>  
>
>>David Abrahams wrote:
>>    
>>
>>>Names containing double underscores or starting with an underscore
>>>followed by a capital letter are reserved to the C++ implementation,
>>>so they can't conflict with anything the user might legally define as
>>>a class member.
>>>
>>>      
>>>
>>Thanks for the suggestion Dave!
>>
>>But "void _Foo(int) {}" compiles fine with intel 7.1.0.
>>
>>I am not saying that you are wrong, but apparently some code with an
>>underscore followed by a capital letter compiles fine depending on the
>>compiler. 
>>    
>>
>
>Almost any compiler will compile that without complaint.  The
>standard library has to compiles *somehow* ;-)
>
>  
>
>>So I assume that there is code that uses invalid names, even thought
>>the specification says otherwise...
>>    
>>
>
>Sure, but we can only be expected to work reliably on correct code.
>

Yeah, seems good enough. 8)
Thanks again for the suggestion.

Regards,
Nicodemus.

   






More information about the Cplusplus-sig mailing list