C++ name with leading underscore character not Compiling

Václav Haisman v.haisman@sh.cvut.cz
Mon Apr 16 11:08:00 GMT 2007


Dave Korn wrote:
> On 16 April 2007 10:34, Chelton Evans wrote:
> 
>> I believe it is legal to have a C++ variable name with a leading
>>  underscore.
> 
>   No.  All names beginning with an underscore are reserved for the
> implementation.
> 
Nit pick, IIRC only names that start with underscore and capital letter
or that start with double underscores are reserved. Single underscore
and small letter should be available to users.

>[...]

--
Vaclav Haisman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 542 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070416/f7f679de/attachment.sig>


More information about the Cygwin mailing list