New Reply
Name
×
Email
Subject
Message
Files Max 5 files38.6MB total
Tegaki
Password
[New Reply]


7961e7e2-5fd6-4317-810e-37f8b63fbaa2-profile_image-300x300.png
[Hide] (114.6KB, 300x300)
>they removed comparison operators from strings (like != ) and replaced it with implicit definitions from ineffable compiler magic (which also prevents you from reasonably overloading the operators) (since C++ 20)
What the fuck are these cunts doing?
Replies: >>30962
>>30958 (OP) 
Equals comparison for string literals in compiled languages will never not be disgusting, leave that shit for perl and other scripting languages, if I'm writing C, I want to compare strings with strcmp()
Replies: >>30965
>>30962
This is for comparison of C++'s std::basic_string, not character arrays or their contents.
>leave that shit for perl and other scripting languages
Ironically I'm basically writing not-javascript via nlohmann's at the moment which is why I was looking into this in the firstplace.
I don't think the sanitized string literals are being used for anything other than assignment (SDL's internals notwithstanding).
[New Reply]
2 replies | 1 file
Connecting...
Show Post Actions

Actions:

Captcha:

admin@sluts4sale.com
jschan 0.11.4