Re: base/derived name unhiding but with ctors
From: Alf P. Steinbach (alfps_at_start.no)
Date: 03/29/04
- Next message: Ivan Vecerina: "Re: find the length of an array"
- Previous message: Alex Vinokur: "Re: efficiency in copying files"
- In reply to: Leor Zolman: "Re: base/derived name unhiding but with ctors"
- Next in thread: Rolf Magnus: "Re: base/derived name unhiding but with ctors"
- Reply: Rolf Magnus: "Re: base/derived name unhiding but with ctors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 04:59:17 GMT
* Leor Zolman <leor@bdsoft.com> schriebt:
>
> Hardly. I would never define the term "call" in terms of some "machine
> code part"; I'd define it in terms of writing an expression (not a
> type name) in C++ followed by a pair of parentheses. This would then
> represent a "conceptually direct call" to a function identified by the
> expression before the parens. That directness includes the idea that,
> if the function returns a value, that value can then be used by the
> surrounding code, and if it does not, then there's no value to be used
> by the surrounding code (and any attempt on the part of the code to
> use one constitutes an error). The crux of my point. is that
> constructors just don't fit into this scenario.
Well, one problem with that terminology is that, when reading those parts
of the standard that refer to constructor "calls", or discussions in this
newsgroup about e.g. "eliding a constructor call", one must then engage
exactly the flexible context-dependent semantic analyzer that the simple
syntax-oriented terminology is (presumably) intended to make irrelevant.
And so that terminology allows clarity only when a large part of reality
is suppressed, including large parts of the standard.
And when those parts of reality intrude one must then explain that in this
broader context the words suddenly have different meanings, not because
of the subject matter (which is the normal context sensitivity of words)
but because of the larger setting in which the subject is discussed, e.g.
that halfway down the discussion someone suddenly quotes the standard.
-- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
- Next message: Ivan Vecerina: "Re: find the length of an array"
- Previous message: Alex Vinokur: "Re: efficiency in copying files"
- In reply to: Leor Zolman: "Re: base/derived name unhiding but with ctors"
- Next in thread: Rolf Magnus: "Re: base/derived name unhiding but with ctors"
- Reply: Rolf Magnus: "Re: base/derived name unhiding but with ctors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|