Re: Scope



On Thu, 16 Jun 2005 17:27:19 -0700, Richard E Maine
<nospam@xxxxxxxxxxxxx> wrote:
<snip>
> While I'm on terminology, what you were asking about isn't scope. Scope
> is not about time. It is purely textual, relating to where in the text
> of the program you can refer to a name. <snip> The standard doesn't
> have a term for the concept, but if I were to try to coin one, I might
> use something like "duration" or "lifetime".

FWIW the C standard uses 'duration'. And C++ uses both, for slightly
different meanings: 'duration' is when the memory is (guaranteed to
be) allocated, and 'lifetime' is when within the duration it contains
a proper object value in the OO sense -- that is, the constructor has
completed and presumably acquired any resources and established any
invariants needed, and the destructor has not yet started and possibly
(probably) released resources and broken invariants.

- David.Thompson1 at worldnet.att.net
.



Relevant Pages

  • Re: Black-drop - is it real?
    ... Still amazed at what I can see with the scope, ... no idea why) is the one showing the trees. ... I believ that I can see it in the picture I mentioned in the original post. ...
    (sci.astro.amateur)
  • Re: Logging Tools
    ... Spanning Tree and PORTFAST settings on the switches, ... GPO "Always wait for the network at computer startup and logon" policy ... Start: 41.144 sec Duration: 318.123 sec ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: When/Where does global static come from?
    ... - duration: bloc, permanent. ... -> A variable defined in a bloc has a bloc duration and a bloc scope. ...
    (comp.lang.c)
  • Re: Strange interaction of "my"-variables with initialization
    ... You can use it because it is in the same scope. ... conditional form of for still localizes $_, ... The "foreach" loop iterates over a normal list value and sets the ...
    (perl.beginners)
  • Re: Interupting xenon flash current ?
    ... the flash current is at the order of 100A and the duration ... They have higher rate of the current increase and the shorter flash ... I have a 200mv 200A shunt in series with the tube and am simply ... connected the 1V scope calibrator output from an analog scope to ...
    (sci.electronics.design)