Re: [PATCH] Choose syntax
- From: Pavel Tsekov <ptsekov gmx net>
- Cc: MC dev <mc-devel gnome org>
- Subject: Re: [PATCH] Choose syntax
- Date: Tue, 12 Jul 2005 10:26:03 +0300
Hello,
On Tue, 12 Jul 2005, Oswald Buddenhagen wrote:
> On Mon, Jul 11, 2005 at 06:02:09PM +0300, Pavel Tsekov wrote:
> > Instead of a macro you could use the following construct:
> >
> > static const int MAX_ENTRY_LEN = 40;
> >
> this is c++ (well, except that const implies static, i heard). maybe its
> in newer c standards, too, but i'm not sure we want to depend on them.
It is a good practice. Do you say that older compilers won't grok this ?
I can hardly believe this.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]