Re: various meanings of static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/23/07, Shriramana Sharma <samjnaa@xxxxxxxxx> wrote:
Hello.

...

I am thinking of using # define-s to use these four words:

local, sticky, classwide, nothis

instead of static in my C++ programs to make them more meaningful. I
believe that the above four are mutually distinct purposes of the single
static keyword and whether a future C++ standard disambiguates these
purposes or not (where I prefer it would) I can even now use these new
clearer keywords.

IMHO, I think it's not a good idea to add your own keywords to your
code. This will make it harder for anyone else to read it.
Darío
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux