Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: C++20 concepts rocks
Date: Mon, 25 Apr 2022 03:02:38 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <86sfq18oqp.fsf@linuxsc.com>
References: <87mtj4qd0h.fsf@bsb.me.uk> <86fsovkdjw.fsf@linuxsc.com> <877da7r7ap.fsf@bsb.me.uk> <86bkzjjs3c.fsf@linuxsc.com> <87k0e6q4j8.fsf@bsb.me.uk> <8635kukb17.fsf@linuxsc.com> <878rumptie.fsf@bsb.me.uk> <86leymiga7.fsf@linuxsc.com> <877da3n2au.fsf@bsb.me.uk> <86czjvi97y.fsf@linuxsc.com> <87czjulvm9.fsf@bsb.me.uk> <868ruhikqf.fsf@linuxsc.com> <86zgmsh7nh.fsf@linuxsc.com> <86wnfl8m3u.fsf@linuxsc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="2b2bd3060d7fb14ae545fc6b32585799"; logging-data="11773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gbSZ8GWo/SOJbqydvFrqKQ/Y2MKj2vO4="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:wRD7XGPI834Z/PyTn76J5GWUrZk= sha1:ZG960ypo3LIXdEUDBo0TQHPQJCg=
Xref: csiph.com comp.lang.c++:83710
"Alf P. Steinbach" writes:
> On 19 Apr 2022 11:21, Tim Rentsch wrote:
>
>> "Alf P. Steinbach" writes:
>>
>>> The byte copying you failed to see ("no copying of bytes") while
>>> referring to it ("character array that overlays") is the copying
>>> of the bytes of `value` to each array item
>>
>> Look again. The code shown performs no accesses of any kind through
>> any character array. Hence there is no copying of bytes in the
>> above code.
>
> How does one deal with irrational blind denial in an online discussion?
If you want to show that there is copying of bytes, simply point
out the expression in the code that reads or writes an object
using a character type. If there is no such expression then
there is no copying of bytes (with the usual qualifiers about
memcpy(), etc).