Wednesday, May 29, 2019

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

Tim Rentsch <tr.17687@z991.linuxsc.com>: May 29 12:18PM -0700

Chris Vine <chris@cvine--nospam--.freeserve.co.uk> writes:
 
[...]
 
> Why do you keep flogging this dead horse?
 
What's the fun of having a dead horse if you don't
trot it out and flog it once in a while?
Tim Rentsch <tr.17687@z991.linuxsc.com>: May 29 12:44PM -0700


> and one should use placement new instead:
 
> new (p) float {1.0f} ;
 
> Now that I find hard to crasp. [...]
 
An argument could be made that the text in the Standard implies
this conclusion. To be clear, I mean a language-lawyer type
argument that ignores looking at what was probably intended.
I wouldn't say the argument is absolutely convincing, but it
isn't obviously wrong either (IMO, in case that needs saying).
 
If instead we are interested in what was probably intended, I
think it's a lot harder to find a plausible argument. For one
thing, malloc() is specified by the C standard, and the C
standard says very clearly that the returned pointer value can be
"used to access such an object or an array of such objects in the
space allocated". If that were not the case I expect the C++
standard would at least have a "Note:" mentioning the difference
somewhere around where it talks about malloc(). Looking through
the C++ standard I didn't find anything.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: May 29 08:51PM +0100

On 29/05/2019 20:44, Tim Rentsch wrote:
> standard would at least have a "Note:" mentioning the difference
> somewhere around where it talks about malloc(). Looking through
> the C++ standard I didn't find anything.
 
Would it still be UB if p was a std::byte*? You would probably hate my
casting adventures.
 
/Flibble
 
--
"Talking snakes with legs changed into snakes." - Rick C. Hodgin
 
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Tim Rentsch <tr.17687@z991.linuxsc.com>: May 29 12:59PM -0700

> }
 
> so while you don't have to know the type, I think it still counts as "a
> little tricky".
 
This also can be done without using _Generic (so in pre-C11, or
in C++), by using conditional operators and exploiting usual
arithmetic conversions. I make no claim concerning how tricky
such a method might be, only that the value can be printed
without knowing the type.
fir <profesor.fir@gmail.com>: May 29 09:59AM -0700

W dniu środa, 29 maja 2019 17:27:56 UTC+2 użytkownik Öö Tiib napisał:
 
> I repeat:
> It must be trivial to ignore those [Jesus Loves You] threads even when you
> have no filters in your newsreader.
 
i see you dont reeded what i wrote stupid trollo..its not about ignoring you as troll but the fact you troll whole group... if you think that ignoring that spaming bulshit you produce and help to produce to yet more bigas moron is good resolving than youre close in stupidity to your bigass friend
 
go to dedicated spam grop trolling moron
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 10:15AM -0700

On Wednesday, May 29, 2019 at 10:52:41 AM UTC-4, Öö Tiib wrote:
> political etc.) can make these good people to do evil acts (very selflessly
> and stupidly). That has nothing to with what was the teaching used as
> the source of that fanaticism.
 
There is scripture conveying God in non-believer's good actions:
 
https://www.biblegateway.com/passage/?search=Romans+2%3A14-16&version=NIV;KJV
 
14 (Indeed, when Gentiles, who do not have the law, do by
nature things required by the law, they are a law for
themselves, even though they do not have the law.
15 They show that the requirements of the law are written
on their hearts, their consciences also bearing witness,
and their thoughts sometimes accusing them and at other
times even defending them.)
 
Even in the natural man, God has restrained wanton wickedness in
people who will follow their own built-in conscience. Some do
not follow their conscience, and seer it, building up scars over
time so they cannot even hear it later on:
 
https://www.biblegateway.com/passage/?search=1+Timothy+4%3A1-2&version=NIV;KJV
 
1 Now the Spirit speaketh expressly, that in the latter times
some shall depart from the faith, giving heed to seducing
spirits, and doctrines of devils;
2 Speaking lies in hypocrisy; having their conscience seared
with a hot iron;
 
God guides us, and provides all we need to achieve and overcome
sin in this world. Will we obey Him? Will we pursue truth and
rightness? Or will we follow sin and wickedness?
 
For each person the choice is theirs, but God gives them the
power to overcome if they will turn toward Him one degree. He'll
show up and whip the person around the remaining 179 degrees with
His desire and love to save. It is the story of the Prodigal Son,
who left and squandered all he had, and finally coming to his own
senses decided to go back home. His father saw him returning a
long way off and ran out to meet him.
 
God does this for all who will be saved.
 
--
Rick C. Hodgin
Daniel <danielaparker@gmail.com>: May 29 10:18AM -0700

On Wednesday, May 29, 2019 at 1:00:12 PM UTC-4, fir wrote:
 
> i see you dont reeded what i wrote stupid trollo..
 
Google presented me with a helpful link above this one, "Translate message to
English" :-) But more to the point, I don't think anyone here as the answer
to "the problem of Rick", and I don't think this tact will work either.
 
Best regards,
Daniel
gazelle@shell.xmission.com (Kenny McCormack): May 29 05:37PM

In article <501f2095-e263-4b35-b084-9b8be8e64ffa@googlegroups.com>,
 
>Google presented me with a helpful link above this one, "Translate message to
>English" :-) But more to the point, I don't think anyone here as the answer
>to "the problem of Rick", and I don't think this tact will work either.
 
I fear the only solution to "the problem of Rick" is too drastic to discuss
online.
 
P.S. I like the bit about Google asking if you wanted it translated to
English. Maybe Google should have a special fir-to-English mode.
 
Not to mention a Rick-to-English mode, which would textually replace any
block of text that you feed it with:
 
A bunch of bullshit.
 
--
"The party of Lincoln has become the party of John Wilkes Booth."
 
- Carlos Alazraqui -
Daniel <danielaparker@gmail.com>: May 29 10:40AM -0700

On Wednesday, May 29, 2019 at 11:56:10 AM UTC-4, Rick C. Hodgin wrote:
 
> It is teaching you
 
You're not teaching anything, Rick, because you don't know anything about the history of religion, you have nothing to teach. And besides, you're not doing this for others, you're doing it for yourself. You like spamming usenet, and it would be hard for you to give that up.
 
You concede that to the best of your knowledge, you have never influenced anyone. But if you seriously aspired to have influence, you would do what all of the great spiritual leaders have done, including the central one in your tradition, which is to do good works in your time.
 
Be well,
Daniel
 
Daniel
fir <profesor.fir@gmail.com>: May 29 10:41AM -0700

W dniu środa, 29 maja 2019 19:19:09 UTC+2 użytkownik Daniel napisał:
> to "the problem of Rick", and I don't think this tact will work either.
 
> Best regards,
> Daniel
 
no mr trol, just stop making your trolling content here.. make good programing topics (better those of iq 200 than thiose of iq 70) and it will clear
 
hodgin bigass bulshit grows on reading -
not readed he would be as just simpla nother viagra spammer (but take care never answer to this idiot even if he tries to get answer by fabricating his programming crap topics too).. dont play troll producing trolling bulshit in his threads and no invent false trolling excuses to it (like your troll colegue oo tib who gae answer of real idiot (i only thing shitgin is able to do it) in a type "im stabing preople with a knife?, i repet you can hide in the basement, or go into tree... simple dont play trolls you various idiots and morons
fir <profesor.fir@gmail.com>: May 29 10:47AM -0700

W dniu środa, 29 maja 2019 19:41:24 UTC+2 użytkownik fir napisał:
 
> no mr trol, just stop making your trolling content here.. make good programing topics (better those of iq 200 than thiose of iq 70) and it will clear
 
> hodgin bigass bulshit grows on reading -
> not readed he would be as just simpla nother viagra spammer (but take care never answer to this idiot even if he tries to get answer by fabricating his programming crap topics too).. dont play troll producing trolling bulshit in his threads and no invent false trolling excuses to it (like your troll colegue oo tib who gae answer of real idiot (i only thing shitgin is able to do it) in a type "im stabing preople with a knife?, i repet you can hide in the basement, or go into tree... simple dont play trolls you various idiots and morons
 
tha last talking to all potential idiots here which i faind may be a quite large amount sadly... im offten really stunned by the low level of intelligence of people like bartc, oo tib and the rest of crowd, its sad but it become especially sad when you feed hodgin and as i already said allow his extremally big ass to eclipse any kind of programming topics..simply dont do that coz you destroy this group(s)
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 11:02AM -0700

On Wednesday, May 29, 2019 at 1:40:59 PM UTC-4, Daniel wrote:
> > It is teaching you
 
> You're not teaching anything, Rick, because you don't know anything
> about the history of religion
 
I know quite a bit.
 
> you have nothing to teach.
 
I teach what the Bible contains, and whereby I am periodically
corrected on my understanding of various passages, those days
are becoming fewer and fewer because I continue to study and
learn, so that I am rightly able to do and teach.
 
> And besides, you're not doing this for others, you're doing it
> for yourself.
 
If you knew more about me personally you'd offer a retraction
for that statement. But someday the Lord will reveal to you
my patience and labors toward those in these groups I post to,
and other related details.
 
> You like spamming usenet, and it would be hard for you to give
> that up.
 
To my knowledge, I have never spammed Usenet. Others view my
posts about Christ as spam, but I do believe they will see them
all differently on the day of judgment. Especially when the
meaning and sentiment I was trying with patience and prayer to
convey is then realized as it was intended. Then each person
will glorify God in the outreach He offered them through me, as
they are literally led off to their destruction in Hellfire.
 
> You concede that to the best of your knowledge, you have never
> influenced anyone.
 
No. I have influenced many people. I concede that no one has
ever come to me and said, "Rick, because of your witness I have
accepted Jesus Christ as Lord and Savior."
 
> what all of the great spiritual leaders have done, including
> the central one in your tradition, which is to do good works
> in your time.
 
You have comprehensive knowledge of my deeds on this Earth? Are
you able to know what I have done, or offered to do, or been a
part of?
 
How long have you known me?
 
--
Rick C. Hodgin
fir <profesor.fir@gmail.com>: May 29 11:05AM -0700

W dniu środa, 29 maja 2019 19:47:58 UTC+2 użytkownik fir napisał:
 
> > hodgin bigass bulshit grows on reading -
> > not readed he would be as just simpla nother viagra spammer (but take care never answer to this idiot even if he tries to get answer by fabricating his programming crap topics too).. dont play troll producing trolling bulshit in his threads and no invent false trolling excuses to it (like your troll colegue oo tib who gae answer of real idiot (i only thing shitgin is able to do it) in a type "im stabing preople with a knife?, i repet you can hide in the basement, or go into tree... simple dont play trolls you various idiots and morons
 
> tha last talking to all potential idiots here which i faind may be a quite large amount sadly... im offten really stunned by the low level of intelligence of people like bartc, oo tib and the rest of crowd, its sad but it become especially sad when you feed hodgin and as i already said allow his extremally big ass to eclipse any kind of programming topics..simply dont do that coz you destroy this group(s)
 
obviously i cont much care for comp.lang.c++ as i dont value c++ (being c mystic) but unlike linus t. i think that unlike c++ is crap some not so bad coders write in it and those coders stand potentially some value.. nad whan i see that bigass crushing this group with is fat dumb idiot ass it is sad, also when i se various lazy dull trols helping him to do that (for explanation)
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 11:07AM -0700

On Wednesday, May 29, 2019 at 1:37:28 PM UTC-4, Kenny McCormack wrote:
> I fear the only solution to "the problem of Rick" is too drastic to discuss
> online.
 
And just what would this drastic solution be, Kenny?
 
Note: I'm just making notes here so I can provide them to the FBI.
I would like to keep an accurate account of your statements
so I do not misrepresent you in my sworn statement.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 11:09AM -0700

On Wednesday, May 29, 2019 at 2:05:17 PM UTC-4, fir wrote:
> [snip]
 
fir, every time I see you post a reply to a thread like this, the
kind where you rail against others for replying to me as "feeding
the troll," I am going to say a prayer for you, your soul, your
hypocrisy, and your salvation.
 
--
Rick C. Hodgin
fir <profesor.fir@gmail.com>: May 29 11:49AM -0700

W dniu środa, 29 maja 2019 20:07:26 UTC+2 użytkownik Rick C. Hodgin napisał:
 
> Note: I'm just making notes here so I can provide them to the FBI.
> I would like to keep an accurate account of your statements
> so I do not misrepresent you in my sworn statement.
 
lol, im afraid this fbi might be not so bigass christian society in your type, poor moron dik
 
they might much more dont like pathological dumbass-heads who wandalize their society and i much more waiting for you to be finally imprisoned so some people may rest a bit of your extreamally pathological stupidity which turn in massive vandalisation (sam with another well known mass troll ramine)
 
we already talked on that and remember i offered uyou some additional months in jail for vandalizing idiots especially from me
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 12:14PM -0700

On Wednesday, May 29, 2019 at 2:49:46 PM UTC-4, fir wrote:
 
> lol, im afraid this fbi might be not so .. christian society in your type, ..
 
> they might much more dont like pathological ..-heads who wandalize their society and i much more waiting for you to be finally imprisoned so some people may rest a bit of your extreamally pathological stupidity which turn in massive vandalisation (sam with another well known mass troll ramine)
 
> we already talked on that and remember i offered uyou some additional months in jail for vandalizing idiots especially from me
 
The law exists to protect people's rights. It's the reason our
government was created in the U.S.
 
I am not violating anybody's rights by posting on a public forum
even if the content is considered off-topic by some. Kenny, however,
would be violating my rights if he were posting a threat to my life.
 
Even so, it would go in both our files and would be then remembered
in any future investigations.
 
--
Rick C. Hodgin
Daniel <danielaparker@gmail.com>: May 29 12:24PM -0700

On Wednesday, May 29, 2019 at 3:15:09 PM UTC-4, Rick C. Hodgin wrote:
 
> ... the content is considered off-topic by all and sundry.
 
Fixed it for you.
 
Best regards,
Daniel
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: May 29 08:28PM +0100

On 29/05/2019 20:14, Rick C. Hodgin wrote:
> would be violating my rights if he were posting a threat to my life.
 
> Even so, it would go in both our files and would be then remembered
> in any future investigations.
 
Expect blowback when you wilfully piss people off.
 
Talking snakes with legs changed into snakes? Are you fucktarded?
Seriously? Also, Satan invented fossils, yes?
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
fir <profesor.fir@gmail.com>: May 29 12:35PM -0700

W dniu środa, 29 maja 2019 21:15:09 UTC+2 użytkownik Rick C. Hodgin napisał:
> would be violating my rights if he were posting a threat to my life.
 
> Even so, it would go in both our files and would be then remembered
> in any future investigations.
 
that you may think stupid spamer, but youre idiot so your thinking - you shuld know - dont matter
 
honest judge will se youre massivly vandalising idiot becouse its a fact.. you also lie constantly which you even gave example above -- naming your masive ass stream spams as "off topic by some" is pure and extreammly weak lie typical for you ;c try it in front of honest judge, i dont wish you luck dumbass vandalizing idiot
 
law is established to spare harm, forst and formeost, such idiots like you or ramine are sources of real harm (as you spread stupidity and vandalize wirtual space ahich is made by special more intellectual and accademic purpose not to host and feed abusing idiots of your type)
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 12:52PM -0700

On Wednesday, May 29, 2019 at 3:28:24 PM UTC-4, Mr Flibble wrote:
> Expect blowback when you wilfully .. people off.
 
Blowback is what I get from you and Kenny and others who post
likewise. What Kenny's now proposing is on another level.
 
> Talking snakes with legs changed into snakes? Are you .. ?
> Seriously? Also, Satan invented fossils, yes?
 
I'll leave you to your thoughts and gainsaying posts.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: May 29 12:55PM -0700

On Wednesday, May 29, 2019 at 3:35:40 PM UTC-4, fir wrote:
> law is established to spare harm, forst and formeost, such idiots like you or ramine are sources of real harm
 
No. Freedom of speech, of differing opinions, of words effectively,
is not real harm. I am not threatening anybody. I am teaching them
what is in the Bible so they can self-govern, and self-approach God.
 
> (as you spread stupidity and vandalize wirtual space ahich is made by special more intellectual and accademic purpose not to host and feed abusing idiots of your type)
 
I believe the same about your posts, fir. I find your posts to be
something far less than one would expect a developer to post on a
group like clc, but you post anyway, often as a blog listening to
your own voice alone.
 
It's your right to do so. I think it's very annoying, but ack-
nowledge your right to post it.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: May 29 08:55PM +0100

On 29/05/2019 20:52, Rick C. Hodgin wrote:
 
>> Talking snakes with legs changed into snakes? Are you .. ?
>> Seriously? Also, Satan invented fossils, yes?
 
> I'll leave you to your thoughts and gainsaying posts.
 
You use the word "gainsaying" as if it is a bad thing. Gainsaying means
contradiction and yes I am contradicting your bullshit.
 
/Flibble
 
--
"Talking snakes with legs changed into snakes." - Rick C. Hodgin
 
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
Daniel <danielaparker@gmail.com>: May 29 12:55PM -0700

On Wednesday, May 29, 2019 at 3:35:40 PM UTC-4, fir wrote:
 
> stupid
 
No, Rick isn't stupid, uneducated about history and science, sure,
but not stupid
 
> spamer (sic)
 
Yes
 
> lie constantly
 
No, I don't think Rick lies, the fact that he makes statements about
dinosaurs and evolution and a young earth that are clearly false
doesn't mean that these things don't occupy space in his head, and are real
to him in some sense. Rick will sometimes answer questions where the answer
doesn't make him look good, such as his ineffectiveness as a "teacher" and
his poor reception in his own faith community, and he sometimes says nothing
when he could easily have said "no" (re my question about whether he
believes in The Protocols of the Elders of Zion.)
 
Daniel
Tim Rentsch <tr.17687@z991.linuxsc.com>: May 29 12:26PM -0700


> Assume the `constexpr` `n` is used for something very
> compile-time-ish, e.g. a buffer size.
 
> What to do?
 
This can be done using constexpr overloaded functions, but how
about just using a template?
 
template < typename T >
constexpr int n_code_points( const T *s ){
// suitable body goes here
}
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: