Re: Is there a convention mandating macros to be all-uppper-case?
- From: Ulrich Eckhardt <eckhardt@xxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 08:53:51 +0200
Ulrich Eckhardt wrote:
I'd say it is not fine, as people don't expect it to be a macro.
I may add that the (very good!) book "C++ Coding Standards" by Sutter and
Alexandrescu suggest that a) all macros are uppercase and b) only macros
are uppercase for that very reason. However, there is existing practice to
make constants from both constant objects and enumerations all uppercase
and assert() isn't uppercase either, although it should.
Uli
.
- References:
- Re: Is there a convention mandating macros to be all-uppper-case?
- From: Ulrich Eckhardt
- Re: Is there a convention mandating macros to be all-uppper-case?
- Prev by Date: Can anybody tell me what is wrong ..
- Next by Date: Re: boost::variant and VC debugger
- Previous by thread: Re: Is there a convention mandating macros to be all-uppper-case?
- Next by thread: Re: Is there a convention mandating macros to be all-uppper-case?
- Index(es):
Relevant Pages
|