Article View: comp.std.c++
Article #955Re: Conversions to/from void*, redux
From: Jim ADCOCK
Date: Tue, 19 Mar 1991 01:23
Date: Tue, 19 Mar 1991 01:23
24 lines
1248 bytes
1248 bytes
In article <27E01E50.64DF@tct.uucp> chip@tct.uucp (Chip Salzenberg) writes:
| f1.c:
|
| main()
| {
| blah("howdy");
| }
|
| f2.c:
|
| #include <stdio.h>
| blah(void *p)
| {
| puts(p);
| }
|
|See? It *is* a language issue, after all.
If this *is* a language issue -- then it points out that the issue
of whether or not char* and void* has the "same representation" or not
is moot -- because in C++ this example would fail to link -- even on
implementations wherea char* and void* have the same representation.
Thus I reiterate my statements that the C++ committee ought to stay
focused on specifying *language* not *implementation.*
Technical Details
Message-ID:
<71386@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!microsoft!jimadReferences:
<71031@microsoft.UUCP> <27D5708A.29CF@tct.uucp> <71206@microsoft.UUCP> <27E01E50.64DF@tct.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!microsoft!jimad From: jimad@microsoft.UUCP (Jim ADCOCK) Newsgroups: comp.std.c++ Subject: Re: Conversions to/from void*, redux Keywords: Sun, C++ Message-ID: <71386@microsoft.UUCP> Date: 19 Mar 91 01:23:45 GMT References: <71031@microsoft.UUCP> <27D5708A.29CF@tct.uucp> <71206@microsoft.UUCP> <27E01E50.64DF@tct.uucp> Reply-To: jimad@microsoft.UUCP (Jim ADCOCK) Organization: Microsoft Corp., Redmond WA Lines: 24