All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Rouits" <brouits@free.fr>
To: Shriramana Sharma <samjnaa@gmail.com>
Cc: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: Re: need non-classwide sticky variable for a member function of a class
Date: Sat, 23 Jun 2007 20:33:53 +0200	[thread overview]
Message-ID: <1182623633.22133.1.camel@chimay> (raw)
In-Reply-To: <467B813F.4060408@gmail.com>

Le vendredi 22 juin 2007 à 13:28 +0530, Shriramana Sharma a écrit :
> To my mind, there are three meanings to the keyword static:
> 
> 1. local visibility (vars and funcs)
> 2. classwide commonness (vars and funcs)
> 3. sticky nature (vars only) to hold values between function calls
> 
> Here the second and third meanings are mixed up -- that makes the
> static keyword quite ambiguous, don't you think?
I agree, "static" has two meanings among one for a local variable.
> 
> Your comments invited.
> 
> Shriramana Sharma. 
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2007-06-23 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-22  7:58 need non-classwide sticky variable for a member function of a class Shriramana Sharma
2007-06-23 15:59 ` Glynn Clements
2007-06-23 18:33 ` Benoît Rouits [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1182623633.22133.1.camel@chimay \
    --to=brouits@free.fr \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=samjnaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.