Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.c++ / Re: "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

SubjectAuthor
* "C++23’s Deducing this: what it is, why itLynn McGuire
+* Re: "C++23’s Deducing this: what it is, why itSam
|`- Re: "C++23’s Deducing this: what it is, wLynn McGuire
`- Re: "C++23’s Deducing this: what it is, why it is,wij

1
"C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

<u8sev3$4mqs$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.lang.c++
Subject: "C++23’s_Deducing_this:_what_it_is,_why_it_
is,_how_to_use_it"_by_Sy_Brand
Date: Fri, 14 Jul 2023 16:33:22 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u8sev3$4mqs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Jul 2023 21:33:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e9e9749334b962725b50faa8332ab9c8";
logging-data="154460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PxUgMA3zrr4N7KKISOmIlXAPdA/QRDuY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:gsnSqFgYuvgoHDvGRiHxVfaIw7M=
Content-Language: en-US
 by: Lynn McGuire - Fri, 14 Jul 2023 21:33 UTC

"C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand
https://devblogs.microsoft.com/cppblog/cpp23-deducing-this/

"Deducing this (P0847) is a C++23 feature which gives a new way of
specifying non-static member functions. Usually when we call an object’s
member function, the object is implicitly passed to the member function,
despite not being present in the parameter list. P0847 allows us to make
this parameter explicit, giving it a name and const/reference
qualifiers. For example:"

struct implicit_style {
void do_something(); //object is implicit
};

struct explicit_style {
void do_something(this explicit_style& self); //object is explicit
};

We use the implicit this a lot.

Lynn

Re: "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

<cone.1689420010.161190.538921.1004@monster.email-scan.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sam...@email-scan.com (Sam)
Newsgroups: comp.lang.c++
Subject: Re: "C++23’s Deducing this: what it is, why it
is, how to use it" by Sy Brand
Date: Sat, 15 Jul 2023 07:20:10 -0400
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <cone.1689420010.161190.538921.1004@monster.email-scan.com>
References: <u8sev3$4mqs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="5c6e0f2f1d5eaa24f7f0190c2a5d01e2";
logging-data="408735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jKfbGcjTVZYG9z0+o2Yq6"
Cancel-Lock: sha1:yuDxq0obijIxvDYJIx2BWV4tuFY=
Content-Disposition: inline
X-Mailer: http://www.courier-mta.org/cone/
 by: Sam - Sat, 15 Jul 2023 11:20 UTC

Lynn McGuire writes:

> We use the implicit this a lot.

Congratulations, you win a gold star.

Re: "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

<u94lva$1crp5$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.lang.c++
Subject: Re:_"C++23’s_Deducing_this:_what_it_is,_w
hy_it_is,_how_to_use_it"_by_Sy_Brand
Date: Mon, 17 Jul 2023 19:22:01 -0500
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <u94lva$1crp5$1@dont-email.me>
References: <u8sev3$4mqs$1@dont-email.me>
<cone.1689420010.161190.538921.1004@monster.email-scan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 18 Jul 2023 00:22:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="476cbe6e344d7182d225d3037a2de477";
logging-data="1470245"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PaeL2BFfwllElkmcv9C86z5kFAHRO8K8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:7KG6IxG6J8ehmuPVMitPGCpaUm0=
In-Reply-To: <cone.1689420010.161190.538921.1004@monster.email-scan.com>
Content-Language: en-US
 by: Lynn McGuire - Tue, 18 Jul 2023 00:22 UTC

On 7/15/2023 6:20 AM, Sam wrote:
> Lynn McGuire writes:
>
>> We use the implicit this a lot.
>
> Congratulations, you win a gold star.

Still waiting for the delivery of my gold star !

Lynn

Re: "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

<d528ee22-e92b-4a4b-acb0-b015294581e1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++
X-Received: by 2002:a05:622a:14d:b0:403:a063:3ae5 with SMTP id v13-20020a05622a014d00b00403a0633ae5mr76003qtw.10.1689648344417;
Mon, 17 Jul 2023 19:45:44 -0700 (PDT)
X-Received: by 2002:a05:6808:144a:b0:3a3:a8d1:1aa4 with SMTP id
x10-20020a056808144a00b003a3a8d11aa4mr18824257oiv.2.1689648344108; Mon, 17
Jul 2023 19:45:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c++
Date: Mon, 17 Jul 2023 19:45:43 -0700 (PDT)
In-Reply-To: <u8sev3$4mqs$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=124.218.76.41; posting-account=0Ek0TQoAAAAS0oceh95IuNV59QuIWNeN
NNTP-Posting-Host: 124.218.76.41
References: <u8sev3$4mqs$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d528ee22-e92b-4a4b-acb0-b015294581e1n@googlegroups.com>
Subject: Re:_"C++23’s_Deducing_this:_what_it_is,_why_it_is,
_how_to_use_it"_by_Sy_Brand
From: wynii...@gmail.com (wij)
Injection-Date: Tue, 18 Jul 2023 02:45:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2308
 by: wij - Tue, 18 Jul 2023 02:45 UTC

On Saturday, July 15, 2023 at 5:33:43 AM UTC+8, Lynn McGuire wrote:
> "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand
> https://devblogs.microsoft.com/cppblog/cpp23-deducing-this/
>
> "Deducing this (P0847) is a C++23 feature which gives a new way of
> specifying non-static member functions. Usually when we call an object’s
> member function, the object is implicitly passed to the member function,
> despite not being present in the parameter list. P0847 allows us to make
> this parameter explicit, giving it a name and const/reference
> qualifiers. For example:"
>
> struct implicit_style {
> void do_something(); //object is implicit
> };
>
> struct explicit_style {
> void do_something(this explicit_style& self); //object is explicit
> };
>
> We use the implicit this a lot.
>
> Lynn

Great, C++23 doubles its own complexity (and, VISIBLE is important!) again.
So the boss knows they are brilliant and work hard, if I understand the feature correctly.


devel / comp.lang.c++ / Re: "C++23’s Deducing this: what it is, why it is, how to use it" by Sy Brand

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor