Mathieu Ropert
matropert.bsky.social
Mathieu Ropert
@matropert.bsky.social
C++ Consultant and Trainer. Game developer and lead.
Ex Paris C++ User Group organizer. Avid roleplayer, amateur photographer and occasional winetaster.
Enum classes should allow you to write an explicit operator bool.
You can do the operator! / if ( !! code ) trick but it looks so ugly.
Make the language idiomatic instead of making me write some weird workarounds.
November 9, 2025 at 10:56 AM
It's alright but tbf I almost prefer exceptions these days.
But either way I didn't design this API with enum class error codes, but I have to work with it :(
November 9, 2025 at 10:55 AM
Also what's the deal with RAII wrappers that don't have a default constructor like normal smart pointers?
Needing to do explicit = nullptr is bad C++.
November 5, 2025 at 4:13 PM
I have had similar issues with insulin pen needles and such.
November 4, 2025 at 10:29 AM
What are the odds that 30-40 ppl across multiple offices have independently committed "gross misconduct" totally unrelated to union organizing that all happens to be acted upon now?
November 4, 2025 at 10:01 AM