Wednesday, July 24, 2019

Digest for comp.lang.c++@googlegroups.com - 6 updates in 3 topics

aminer68@gmail.com: Jul 24 02:48PM -0700

Hello,
 
 
Wich to choose? Delphi or C++ or C# or Java ?
 
Read more here to understand more:
 
https://jonlennartaasenden.wordpress.com/2016/10/18/why-c-coders-should-shut-up-about-delphi/
 
 
 
Thank you,
Amine Moulay Ramdane.
lightness1024@gmail.com: Jul 23 11:50PM -0700

Hello, don't know if that's the best place to ask.
 
I was looking into behavior of various declaration and definition of methods in class, and out of class. I noticed the terminology used in clang is "out-of-line".
Example:
out-of-line declaration of a member must be a definition [-Wout-of-line-declaration]
gcc says something a bit weirdly worded:
error: declaration of 'blah' outside of class is not definition [-fpermissive]
 
Before; I could swear the official word for that was "deported definition"; and now I can't find this used anywhere. I'm quite surprised. I can't even find the source that gave me this impression anymore.
But instead, I observe 2 compilers with basically no word for that particular language construct, and instead recourse to a circumlocution "outside of class" or "out-of-line".
Isn't it better to all agree that this is "deported" so we have a specific terminology ?
I checked the draft for C++ 2017 in 12.2.1/[class.mfct] and there is nothing special either. The closest to a specific expression used, is "lexically outside". bah…
 
Any thought ?
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jul 24 10:59AM +0200

> Isn't it better to all agree that this is "deported" so we have a specific terminology ?
> I checked the draft for C++ 2017 in 12.2.1/[class.mfct] and there is nothing special either. The closest to a specific expression used, is "lexically outside". bah…
 
> Any thought ?
 
I generally refer to method definitions outside of a class definition,
as out-of-class definitions.
 
They can be inline or not, so I find it less than clear to refer to them
as sort of the opposite of inline (namely "out-of-line").
 
I wouldn't offhand understand "deported". Now that you've mentioned it I
may remember it. Or not. ;-)
 
 
Cheers!, & look out for orbital debris,
 
- Alf
Paavo Helde <myfirstname@osa.pri.ee>: Jul 24 01:59PM +0300

> gcc says something a bit weirdly worded:
> error: declaration of 'blah' outside of class is not definition [-fpermissive]
 
> Before; I could swear the official word for that was "deported definition"; and now I can't find this used anywhere. I'm quite surprised.
 
I do not recall the word "deported" used in the context of C++ or any
other computer language which I am familiar with, ever.
 
Google search hints this term might have been used in Portuguese. Or
maybe then not.
Keith Thompson <kst-u@mib.org>: Jul 24 12:29PM -0700

> other computer language which I am familiar with, ever.
 
> Google search hints this term might have been used in Portuguese. Or
> maybe then not.
 
FWIW, the string "deport" (case-insensitive) does not appear anywhere in
the gcc source tree.
 
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */
Siri Cruise <chine.bleu@yahoo.com>: Jul 23 06:35PM -0700

In article <54809bc5-42da-44fc-971d-140622fe06e4@googlegroups.com>,
 
> Shared memory or message passing ?
 
Shared memory ties your tasks to the same machine. With the proper message
implementation, you can migrate tasks to different machines. For example using
sockets, you write the socket openner to accept a URLish string, unix:filepath
or tcp://hostaddress, and it opens the unix domain or TCP domain socket. The
client passes in a string that might come out of configuration file and gets
back a socket to the same machine or any other connected machine without the
client forced to split its code: it just sees a socket.
 
--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
The first law of discordiamism: The more energy This post / \
to make order is nore energy made into entropy. insults Islam. Mohammed
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: