On 12/2/2013 5:25 PM, Chris Vine wrote:
[snip attack]
The part of Chris' posting that you quoted contained -- presumably by
design -- only misrepresentation.
He's that kind of person.
Which it's an advantage to be very aware of.
As far as I can tell, Alf is incorrect here. The declarations declare
arrays of unknown size not pointers. See 8.3.4.1 in n3242.
You mean, not "Alf is incorrect" but
"Chris Vine, a known troll going back many years in clc++, is yet again
misrepresenting someone -- in this case Alf".
The code in question does not involve pointers, so any argument based on
that supposition should better be directed to the troll.
I suggest just killfiling him, along with some others (not all of them
are trolls, but all are worth ignoring for me in clc++):
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,contains,dombo)"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,is,
[email protected])"
condition="AND (from,contains,chris) AND (from,contains,vine)"
condition="AND (from,contains,vlad.moscow) AND (from,contains,)"
(He is
correct that about the dangers of C++'s type unsafe linking, but that
isn't the problem with the code we've seen so far.)
I've already stated that the unsafe linking of arrays in C++ is the
problem, and I have linked to more detailed writings of mine citing the
relevant standardese, and I have suggested workable concrete fixes.
Any refutation of that should better cite the reasons why the unsafe
linking isn't the problem, and why my stated solutions would not work.
Maybe that UB, in your opinion, is just /a/ problem?
Cheers & hth.,
- Alf