Deutsch English Français Italiano |
<20240503180102.00002f98@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Fri, 3 May 2024 18:01:02 +0300 Organization: A noiseless patient Spider Lines: 25 Message-ID: <20240503180102.00002f98@yahoo.com> References: <GIL-20240429161553@ram.dialup.fu-berlin.de> <v0ogum$1rc5n$1@dont-email.me> <v0ovvl$1ur12$4@dont-email.me> <v0p06i$1uq6q$5@dont-email.me> <v0shti$2vrco$2@raubtier-asyl.eternal-september.org> <v0spsh$31ds4$3@dont-email.me> <v0stic$325kv$3@raubtier-asyl.eternal-september.org> <v0svtn$32o8h$1@dont-email.me> <v0t091$32qj6$1@raubtier-asyl.eternal-september.org> <v0u90h$3c1r5$4@dont-email.me> <v0v28q$3ku1r$1@raubtier-asyl.eternal-september.org> <v105sc$3skqi$1@dont-email.me> <v10adm$3to7r$1@raubtier-asyl.eternal-september.org> <v124a6$drbu$1@dont-email.me> <v125f4$e2kl$1@raubtier-asyl.eternal-september.org> <v12a4e$f4f1$2@dont-email.me> <v12hf0$gtpa$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Date: Fri, 03 May 2024 17:01:06 +0200 (CEST) Injection-Info: dont-email.me; posting-host="24f79386f11d1cfdbf24e001dc1c4c6c"; logging-data="624660"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+VhZC55+9Z36YfeWnzFfYOFBbdjx9Oqc=" Cancel-Lock: sha1:MlHALMqj38GBRFupp6J9mrZ6OVI= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 2605 On Fri, 3 May 2024 13:23:13 +0200 Bonita Montero <Bonita.Montero@gmail.com> wrote: > Am 03.05.2024 um 11:18 schrieb David Brown: > > On 03/05/2024 09:58, Bonita Montero wrote: =20 > >> Am 03.05.2024 um 09:38 schrieb David Brown: > >> =20 > >>> No it is not.=A0 C-style functions (or C++ functions for that > >>> matter) are not objects, and do not have calling operators. > >>> Built-in operators do not belong to a type, in the way that class > >>> operators do. =20 > >> > >> You can assign a C-style function pointer to an auto > >> function-object. =20 > >=20 > > A C-style function /pointer/ is an object.=A0 A C-style /function/ is > > not. Do you understand the difference? =20 >=20 > Practically there isn't a difference. > For C, I agree, mostly because C has no nested functions.=20 For C++ (after C++11) I am less sure, because of lambdas with non-empty captures.