Tag: Errors

Increasing quality: Always [[nodiscard]]

What is [[nodiscard]]? https://en.cppreference.com/w/cpp/language/attributes/nodiscard The [[nodiscard]] attribute introduced in C++17 will have the developer be notified with a warning when…

Thoughts on C++ error handling

Error handling in C++ can be done employing a large variety of techniques. I tried many but ended up with a monadic tuple type to cleanly refactor my code base.

© 2023 >Craft|Deploy_. Theme by Anders Norén.