Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There are always alternatives. -- Spock, "The Galileo Seven", stardate 2822.3


devel / comp.lang.c++ / Re: What does this code print ?

SubjectAuthor
* What does this code print ?Bonita Montero
`* Re: What does this code print ?Ben Bacarisse
 +* Re: What does this code print ?Kenny McCormack
 |`* Re: What does this code print ?Bonita Montero
 | +* Re: What does this code print ?Scott Lurndal
 | |+- Re: What does this code print ?Bo Persson
 | |`* Re: What does this code print ?Bonita Montero
 | | `* Re: What does this code print ?Ben Bacarisse
 | |  `- Re: What does this code print ?Bonita Montero
 | `* Re: What does this code print ?Richard Damon
 |  +- Re: What does this code print ?Scott Lurndal
 |  `* Re: What does this code print ?Bonita Montero
 |   `* Re: What does this code print ?Richard Damon
 |    `* Re: What does this code print ?Bonita Montero
 |     +- Re: What does this code print ?Chris M. Thomasson
 |     `* Re: What does this code print ?Richard Damon
 |      `- Re: What does this code print ?Chris M. Thomasson
 +- Re: What does this code print ?Bonita Montero
 +* Re: What does this code print ?Chris M. Thomasson
 |+- Re: What does this code print ?Chris M. Thomasson
 |`- Re: What does this code print ?Bonita Montero
 `* Re: What does this code print ?Chris M. Thomasson
  `* Re: What does this code print ?Bonita Montero
   +* Re: What does this code print ?Richard Damon
   |`* Re: What does this code print ?Bonita Montero
   | `* Re: What does this code print ?Richard Damon
   |  `* Re: What does this code print ?Bonita Montero
   |   `* Re: What does this code print ?Richard Damon
   |    `* Re: What does this code print ?Bonita Montero
   |     `- Re: What does this code print ?Chris M. Thomasson
   +* Re: What does this code print ?Kaz Kylheku
   |+* Re: What does this code print ?Chris M. Thomasson
   ||`* Re: What does this code print ?Kaz Kylheku
   || +- Re: What does this code print ?Chris M. Thomasson
   || `* Re: What does this code print ?Paavo Helde
   ||  `* Re: What does this code print ?Chris M. Thomasson
   ||   `* Re: What does this code print ?Kaz Kylheku
   ||    `* Re: What does this code print ?Paavo Helde
   ||     `* Re: What does this code print ?Kaz Kylheku
   ||      `* Re: What does this code print ?Chris M. Thomasson
   ||       `- Re: What does this code print ?Chris M. Thomasson
   |`* Re: What does this code print ?Bonita Montero
   | `* Re: What does this code print ?Kaz Kylheku
   |  +- Re: What does this code print ?Richard Damon
   |  `- Re: What does this code print ?Bonita Montero
   +* Re: What does this code print ?Richard Damon
   |`* Re: What does this code print ?Bonita Montero
   | +* Re: What does this code print ?Bonita Montero
   | |+* Re: What does this code print ?Bonita Montero
   | ||`* Re: What does this code print ?Richard Damon
   | || `* Re: What does this code print ?Bonita Montero
   | ||  `* Re: What does this code print ?Richard Damon
   | ||   +* Re: What does this code print ?Bonita Montero
   | ||   |`- Re: What does this code print ?Richard Damon
   | ||   `* Re: What does this code print ?Bonita Montero
   | ||    `* Re: What does this code print ?Kaz Kylheku
   | ||     `* Re: What does this code print ?Bonita Montero
   | ||      `* Re: What does this code print ?Kaz Kylheku
   | ||       +- Re: What does this code print ?Richard Damon
   | ||       `* Re: What does this code print ?Chris M. Thomasson
   | ||        `* Re: What does this code print ?Kaz Kylheku
   | ||         `* Re: What does this code print ?Bonita Montero
   | ||          +* Re: What does this code print ?Richard Damon
   | ||          |`* Re: What does this code print ?Bonita Montero
   | ||          | `* Re: What does this code print ?Richard Damon
   | ||          |  `* Re: What does this code print ?Bonita Montero
   | ||          |   `* Re: What does this code print ?Richard Damon
   | ||          |    `* Re: What does this code print ?Bonita Montero
   | ||          |     `* Re: What does this code print ?Richard Damon
   | ||          |      `* Re: What does this code print ?Bonita Montero
   | ||          |       `* Re: What does this code print ?Richard Damon
   | ||          |        `* Re: What does this code print ?Bonita Montero
   | ||          |         `* Re: What does this code print ?Richard Damon
   | ||          |          `* Re: What does this code print ?Bonita Montero
   | ||          |           +- Re: What does this code print ?Branimir Maksimovic
   | ||          |           `* Re: What does this code print ?Richard Damon
   | ||          |            `* Re: What does this code print ?Bonita Montero
   | ||          |             `* Re: What does this code print ?Richard Damon
   | ||          |              `* Re: What does this code print ?Bonita Montero
   | ||          |               +* Re: What does this code print ?Richard Damon
   | ||          |               |+* Re: What does this code print ?Bonita Montero
   | ||          |               ||+* Re: What does this code print ?Richard Damon
   | ||          |               |||`* Re: What does this code print ?Bonita Montero
   | ||          |               ||| `* Re: What does this code print ?Richard Damon
   | ||          |               |||  `* Re: What does this code print ?Bonita Montero
   | ||          |               |||   `* Re: What does this code print ?Richard Damon
   | ||          |               |||    `* Re: What does this code print ?Bonita Montero
   | ||          |               |||     `* Re: What does this code print ?Kaz Kylheku
   | ||          |               |||      `* Re: What does this code print ?Bonita Montero
   | ||          |               |||       `* Re: What does this code print ?Richard Damon
   | ||          |               |||        `- Re: What does this code print ?Bonita Montero
   | ||          |               ||`* Re: What does this code print ?Branimir Maksimovic
   | ||          |               || `- Re: What does this code print ?Bonita Montero
   | ||          |               |`* Re: What does this code print ?Scott Lurndal
   | ||          |               | `- Re: What does this code print ?Richard Damon
   | ||          |               `* Re: What does this code print ?Kaz Kylheku
   | ||          |                `- Re: What does this code print ?Bonita Montero
   | ||          `* Re: What does this code print ?Kaz Kylheku
   | ||           +* Re: What does this code print ?Bo Persson
   | ||           |`- Re: What does this code print ?Kaz Kylheku
   | ||           `* Re: What does this code print ?Bonita Montero
   | |`* Re: What does this code print ?Richard Damon
   | +* Re: What does this code print ?Scott Lurndal
   | `- Re: What does this code print ?Richard Damon
   `* Re: What does this code print ?Chris M. Thomasson

Pages:123456
Re: What does this code print ?

<uhbff9$s99h$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2287&group=comp.lang.c%2B%2B#2287

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.Montero@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 18:24:09 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uhbff9$s99h$1@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 16:24:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f47c9491e2c7bd9cdc41f34a30b7ce83";
logging-data="927025"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AhEWmndxgseLwTkS7u4K8Q0TPP+mY83U="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4a1SkVMZt1Pg1dYgO7N8ZJ02UcI=
Content-Language: de-DE
In-Reply-To: <uhbfam$2mvvu$4@i2pn2.org>
 by: Bonita Montero - Wed, 25 Oct 2023 16:24 UTC

Am 25.10.2023 um 18:21 schrieb Richard Damon:

> The key point is that for functions that are inlined, each inlined
> "instance" of the function doesn't get new shared static/thread-local
> variables. This is REQUIRED as inlining isn't allowed to change the
> visible behavior of the function, but is just an optimization.

We don't discuss standard issues.

Re: What does this code print ?

<uhbmfr$2mvvu$5@i2pn2.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2292&group=comp.lang.c%2B%2B#2292

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!.POSTED!not-for-mail
From: richard@damon-family.org (Richard Damon)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 11:23:55 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <uhbmfr$2mvvu$5@i2pn2.org>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 18:23:56 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="2850814"; mail-complaints-to="usenet@i2pn2.org";
posting-account="diqKR1lalukngNWEqoq9/uFtbkm5U+w3w6FQ0yesrXg";
User-Agent: Mozilla Thunderbird
In-Reply-To: <uhbff9$s99h$1@dont-email.me>
Content-Language: en-US
 by: Richard Damon - Wed, 25 Oct 2023 18:23 UTC

On 10/25/23 9:24 AM, Bonita Montero wrote:
> Am 25.10.2023 um 18:21 schrieb Richard Damon:
>
>> The key point is that for functions that are inlined, each inlined
>> "instance" of the function doesn't get new shared static/thread-local
>> variables. This is REQUIRED as inlining isn't allowed to change the
>> visible behavior of the function, but is just an optimization.
>
> We don't discuss standard issues.

Maybe you don't, but the topic space of this newsgroup is "standard" C++.

Re: What does this code print ?

<uhc37n$11sgp$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2296&group=comp.lang.c%2B%2B#2296

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 15:01:27 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uhc37n$11sgp$3@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 22:01:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c3bd89cc95ade0449be8b0155a853eca";
logging-data="1110553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186k+ZbVAxkPqatZhe1A4n5kTOM6Oqb7wc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:p944egChD6QsS/ggRzzc3F1g0AE=
Content-Language: en-US
In-Reply-To: <uhbe4o$rqvq$2@dont-email.me>
 by: Chris M. Thomasson - Wed, 25 Oct 2023 22:01 UTC

On 10/25/2023 9:01 AM, Bonita Montero wrote:
> Am 25.10.2023 um 17:43 schrieb Richard Damon:
>
>> After all, for a "generic" lambda, each variation is really a
>> different function (just like a template function), but each instance
>> of a GIVEN instance of the "generic" lambda, just like the non-generic
>> lambda, or even an ordinary function, when inlined MUST share static
>> or thread_local variables.
>
> I would also have thought it acceptable if each "instance" of
> the lambda had its own static and thread-local variables for
> each calling convention. In practice, it would be very atypical
> if you actually instantiate the lambda with several calling
> conventions.

Humm... This means you do not understand thread_local at all. Study up!
In this case it is working with the thread calling main. Your "fluff"
does not matter one bit.

Re: What does this code print ?

<uhc3a0$127ka$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2297&group=comp.lang.c%2B%2B#2297

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 15:02:40 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uhc3a0$127ka$1@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
<uhbmfr$2mvvu$5@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 22:02:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c3bd89cc95ade0449be8b0155a853eca";
logging-data="1121930"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1DSFdmqR2ZJRb3PiMt0D9KyVLHWA2m0I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zq3g6PSufmgzipQmQHtGOLBlQqg=
In-Reply-To: <uhbmfr$2mvvu$5@i2pn2.org>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 25 Oct 2023 22:02 UTC

On 10/25/2023 11:23 AM, Richard Damon wrote:
> On 10/25/23 9:24 AM, Bonita Montero wrote:
>> Am 25.10.2023 um 18:21 schrieb Richard Damon:
>>
>>> The key point is that for functions that are inlined, each inlined
>>> "instance" of the function doesn't get new shared static/thread-local
>>> variables. This is REQUIRED as inlining isn't allowed to change the
>>> visible behavior of the function, but is just an optimization.
>>
>> We don't discuss standard issues.
>
> Maybe you don't, but the topic space of this newsgroup is "standard" C++.

Bonita is radically confused here. Shit happens. ;^o

Re: What does this code print ?

<uhcnuu$1b5bu$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2298&group=comp.lang.c%2B%2B#2298

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuyper@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 23:55:10 -0400
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uhcnuu$1b5bu$1@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 03:55:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="683379f62702d78e8912686ee013bda8";
logging-data="1414526"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195DC2qJUxSyNJaWzq4gQahHkZfnjR6Ktc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:yiiQ8m4FruSyOq63i7pMICPO+R8=
Content-Language: en-US
In-Reply-To: <uhbff9$s99h$1@dont-email.me>
 by: James Kuyper - Thu, 26 Oct 2023 03:55 UTC

On 10/25/23 9:24 AM, Bonita Montero wrote:
....
> We don't discuss standard issues.

Correct, that's the domain of comp.std.c++. This group is for discussing
the language defined by that standard, nor for discussing the standard
itself.

Re: What does this code print ?

<uhcsi0$1c932$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2299&group=comp.lang.c%2B%2B#2299

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.Montero@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Thu, 26 Oct 2023 07:13:36 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uhcsi0$1c932$1@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
<uhbmfr$2mvvu$5@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 05:13:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1451106"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ek3XOtjMWFGdNHFT8W6Lilia4LQjBfGc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LksmbYcdoDZyRGbBXhLSXNKr/3o=
Content-Language: de-DE
In-Reply-To: <uhbmfr$2mvvu$5@i2pn2.org>
 by: Bonita Montero - Thu, 26 Oct 2023 05:13 UTC

Am 25.10.2023 um 20:23 schrieb Richard Damon:
> On 10/25/23 9:24 AM, Bonita Montero wrote:
>> Am 25.10.2023 um 18:21 schrieb Richard Damon:
>>
>>> The key point is that for functions that are inlined, each inlined
>>> "instance" of the function doesn't get new shared static/thread-local
>>> variables. This is REQUIRED as inlining isn't allowed to change the
>>> visible behavior of the function, but is just an optimization.
>>
>> We don't discuss standard issues.
>
> Maybe you don't, but the topic space of this newsgroup is "standard" C++.

I started a platform-specific topic and you continued to reason
why it is implemented as it is with standard-specific reasoning.

Re: What does this code print ?

<uhcskp$1c932$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2300&group=comp.lang.c%2B%2B#2300

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.Montero@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Thu, 26 Oct 2023 07:15:06 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uhcskp$1c932$2@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhc37n$11sgp$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 05:15:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1451106"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+QsaweQwbbXrh8bXLSsljSAs5f58ek3Q="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:sAvbUCKQEuU7KP0Pmem5DOOv58U=
Content-Language: de-DE
In-Reply-To: <uhc37n$11sgp$3@dont-email.me>
 by: Bonita Montero - Thu, 26 Oct 2023 05:15 UTC

Am 26.10.2023 um 00:01 schrieb Chris M. Thomasson:

> Humm... This means you do not understand thread_local at all.

I wanted to say that it would be acceptable if MSVC would have
implemented as if the funtions would be separated, just as if
I'd have a generic calling operator.

Re: What does this code print ?

<uhcvqp$2qfg0$6@i2pn2.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2301&group=comp.lang.c%2B%2B#2301

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!.POSTED!not-for-mail
From: richard@damon-family.org (Richard Damon)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 23:09:28 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <uhcvqp$2qfg0$6@i2pn2.org>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
<uhbmfr$2mvvu$5@i2pn2.org> <uhcsi0$1c932$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 06:09:29 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="2964992"; mail-complaints-to="usenet@i2pn2.org";
posting-account="diqKR1lalukngNWEqoq9/uFtbkm5U+w3w6FQ0yesrXg";
User-Agent: Mozilla Thunderbird
In-Reply-To: <uhcsi0$1c932$1@dont-email.me>
Content-Language: en-US
 by: Richard Damon - Thu, 26 Oct 2023 06:09 UTC

On 10/25/23 10:13 PM, Bonita Montero wrote:
> Am 25.10.2023 um 20:23 schrieb Richard Damon:
>> On 10/25/23 9:24 AM, Bonita Montero wrote:
>>> Am 25.10.2023 um 18:21 schrieb Richard Damon:
>>>
>>>> The key point is that for functions that are inlined, each inlined
>>>> "instance" of the function doesn't get new shared
>>>> static/thread-local variables. This is REQUIRED as inlining isn't
>>>> allowed to change the visible behavior of the function, but is just
>>>> an optimization.
>>>
>>> We don't discuss standard issues.
>>
>> Maybe you don't, but the topic space of this newsgroup is "standard" C++.
>
> I started a platform-specific topic and you continued to reason
> why it is implemented as it is with standard-specific reasoning.

No, you started a topic asking what some code did in a newsgroup for
GENERAL C++ discussion that should have been done in a platform specific
group.

This was pointed out in the beginning.

THe Standard still applies to the question, as we are discussing parts
of the behavior that is actually specified by the standard, and the
platforms conform to those parts of the standard, even in there
extension that you were using,

You just don't understand how the Language works.

Re: What does this code print ?

<uhd00u$2qfg0$7@i2pn2.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2302&group=comp.lang.c%2B%2B#2302

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!.POSTED!not-for-mail
From: richard@damon-family.org (Richard Damon)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Wed, 25 Oct 2023 23:12:46 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <uhd00u$2qfg0$7@i2pn2.org>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhc37n$11sgp$3@dont-email.me> <uhcskp$1c932$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 06:12:47 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="2964992"; mail-complaints-to="usenet@i2pn2.org";
posting-account="diqKR1lalukngNWEqoq9/uFtbkm5U+w3w6FQ0yesrXg";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uhcskp$1c932$2@dont-email.me>
 by: Richard Damon - Thu, 26 Oct 2023 06:12 UTC

On 10/25/23 10:15 PM, Bonita Montero wrote:
> Am 26.10.2023 um 00:01 schrieb Chris M. Thomasson:
>
>> Humm... This means you do not understand thread_local at all.
>
> I wanted to say that it would be acceptable if MSVC would have
> implemented as if the funtions would be separated, just as if
> I'd have a generic calling operator.
>

Nope, it would have violated the standard.

a generic lambda can only overload its definitions on what a function is
allowed to be overloaded on.

This is only the types of the parameters.

Calling convention is NOT this, and is not eligable for overloading, in
part because you can not tell in general which of the overloads by
calling convention to use when you see the call, just as you can't
overload by return type.

It just isn't allowed.

PERIOD.

Thus MSVC would have been more non-conforming to support that behavior,
so they don't.

Re: What does this code print ?

<uhffd8$23skb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2308&group=comp.lang.c%2B%2B#2308

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: What does this code print ?
Date: Thu, 26 Oct 2023 21:47:36 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <uhffd8$23skb$1@dont-email.me>
References: <ug54sf$1ki2m$1@dont-email.me> <87lec95n0t.fsf@bsb.me.uk>
<ugaeqo$2vefi$1@dont-email.me> <ugapal$31eim$1@dont-email.me>
<ugemtr$61v$1@dont-email.me> <ugeo5l$gqp$1@dont-email.me>
<uh9hti$84mf$1@dont-email.me> <uhb3ud$p19b$1@dont-email.me>
<uhbd3m$2mvvu$3@i2pn2.org> <uhbe4o$rqvq$2@dont-email.me>
<uhbfam$2mvvu$4@i2pn2.org> <uhbff9$s99h$1@dont-email.me>
<uhbmfr$2mvvu$5@i2pn2.org> <uhc3a0$127ka$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Oct 2023 04:47:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="37dc2ef1a9a3b556fce245257e17a7c8";
logging-data="2224779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zCGpAriMF/voymSyC+2a6EiC+oFnPUZc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:51tqOyy0F1fXaX3ycJDtzgbahHU=
Content-Language: en-US
In-Reply-To: <uhc3a0$127ka$1@dont-email.me>
 by: Chris M. Thomasson - Fri, 27 Oct 2023 04:47 UTC

On 10/25/2023 3:02 PM, Chris M. Thomasson wrote:
> On 10/25/2023 11:23 AM, Richard Damon wrote:
>> On 10/25/23 9:24 AM, Bonita Montero wrote:
>>> Am 25.10.2023 um 18:21 schrieb Richard Damon:
>>>
>>>> The key point is that for functions that are inlined, each inlined
>>>> "instance" of the function doesn't get new shared
>>>> static/thread-local variables. This is REQUIRED as inlining isn't
>>>> allowed to change the visible behavior of the function, but is just
>>>> an optimization.
>>>
>>> We don't discuss standard issues.
>>
>> Maybe you don't, but the topic space of this newsgroup is "standard" C++.
>
> Bonita is radically confused here. Shit happens. ;^o

Sometimes I think Bonita rushes into things without engaging the good
ol' brain... Humm...

https://youtu.be/GU9RrgbzVYI

Pages:123456
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor