Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7728

Re: static struct and char arrays

From "A" <a@a.a>
Newsgroups comp.lang.c++
Subject Re: static struct and char arrays
Date 2011-07-11 17:02 +0200
Organization B.net Hrvatska d.o.o.
Message-ID <ivf3bm$7au$1@gregory.bnet.hr> (permalink)
References <iv7dis$g2q$1@gregory.bnet.hr> <iv81ot$pgo$1@hoshi.visyn.net>

Show all headers | View raw


i didn't though of const.... but i think you may be right it might be used 
probably for some optimizations by the compiler.
maybe also declaring "static const struct" or just "const struct" as well 
then? 

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

static struct and char arrays "A" <a@a.a> - 2011-07-08 19:07 +0200
  Re: static struct and char arrays Ian Collins <ian-news@hotmail.com> - 2011-07-09 08:05 +1200
  Re: static struct and char arrays Kai-Uwe Bux <jkherciueh@gmx.net> - 2011-07-09 00:53 +0200
    Re: static struct and char arrays "A" <a@a.a> - 2011-07-11 17:02 +0200

csiph-web