C++ be like...
Q: What's the standard way to do X?
Answer 1 (requires C++17)
Answer 2 (requires C++20)
Answer 3 (requires C++23)
The C++0x delay and its consequences.
Conversation
Notices
-
Embed this notice
niconiconi (niconiconi@mk.absturztau.be)'s status on Wednesday, 15-May-2024 14:26:08 JST niconiconi - Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 15-May-2024 14:27:01 JST Haelwenn /элвэн/ :triskell: @niconiconi Me: Answer n+1 (requires POSIX, or BSD-style APIs) -
Embed this notice
niconiconi (niconiconi@mk.absturztau.be)'s status on Wednesday, 15-May-2024 14:28:20 JST niconiconi @lanodan@queer.hacktivis.me libbsd is definitely underused by Linux developers
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 15-May-2024 14:29:22 JST Haelwenn /элвэн/ :triskell: @niconiconi libbsd kind of sucks by it's absence in BSDs though.
And the ones that are actually common across BSDs strongly tend to also be in musl and glibc. (or are trivial to vendor) -
Embed this notice
niconiconi (niconiconi@mk.absturztau.be)'s status on Wednesday, 15-May-2024 14:41:53 JST niconiconi @plainoldcheese@masto.ai Which is exactly why new standards should be used because you can just call a builtin function that everyone can understand, instead of emulating that feature via a whole mess of templated code.
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Emo Sabe 🖤🕴️ (plainoldcheese@masto.ai)'s status on Wednesday, 15-May-2024 14:41:54 JST Emo Sabe 🖤🕴️ @niconiconi the final answer,
Do it the c++11 way because that the way the rest of the team wants to do it and understands...