| Richard Maine 2006-05-26, 7:04 pm |
| Rich Townsend <rhdt@barVOIDtol.udel.edu> wrote:
> I was more thinking of the notion that PARAMETERS don't have storage --
> but then again, are they then just hardwired into the code?
They might, or might not be. That depends on all kinds of things. But if
one is used as an actual argument, it generally will have storage. Yes,
it is possible for such things to be optimized away in interprocedural
optimization, but the simple and normal case is that it will be put into
a storage location.
As I said, thinking about storage just won't send you in a useful
direction here. You might be able to twist things around to make them
agree in some sense, but I do not consider it to be a useful mental
model (and it certainly isn't how the standard describes it).
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
|