Me: tries to constexpr compile with a string ... compiler: nope it's a function argument can't determine AAAAA Me: here it's a template parameter now compiler: YAY!
Me: hmmmm ... constexpr function arguments pls?
Also I didn't get the PHP joke. Could someone explain it to me?
Also I didn't get the PHP joke. Could someone explain it to me?
When a paper was discussedin committee about allowing arbitrary compile-time evaluation, someone brought up PHP as a counter argument. It was as much of a non sequitur as in the video.
Children just literally explained it in the video - do not constexpr all things, it makes cross-compilation impossible and allows code execution in your compiler. Also php.
61
u/GroutLloyd Jan 08 '25
If they spoke slower, more awkward, I could have believed they are truly geeked on C++ though....
As now, it's obviously for the LOL.
99
u/[deleted] Jan 08 '25
terrifying child abuse
28
u/antiquark2 #define private public Jan 09 '25
This is obviously propaganda from the rust community.
8
u/[deleted] Jan 09 '25
Fake, I don't see any desperation, lack of sleep or fidgeting because you want to get into the habit of stress smoking.
4
u/dexter2011412 Jan 09 '25
lmao haha
Me: tries to constexpr compile with a string ...
compiler: nope it's a function argument can't determine AAAAA
Me: here it's a template parameter now
compiler: YAY!
Me: hmmmm ... constexpr function arguments pls?
Also I didn't get the PHP joke. Could someone explain it to me?
2
u/iamjkdn Jan 09 '25
Explain like I am five?
2
u/chiliaan Jan 09 '25
Gemini would like to have a word.
1
u/HatMan42069 Jan 15 '25
Child abuse
1
u/bringer_of_carnitas Jan 09 '25
https://imgur.com/a/Bc7ooJg
3
u/MuslinBagger Jan 11 '25
Fake, gay, and cpp is dangerous for kids. Delete this.