result
exceptxx
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
result
-
Real-world examples of std::expected in codebases?
Example of other people trying to do it in a generic way, as a separate library (instead of in the utility part of some bigger codebase): - https://github.com/bitwizeshift/result - https://github.com/oktal/result - https://github.com/basicpp17/result17 - https://github.com/p-ranav/result
-
std::expected (with monadic interface) implementation in C++20 (P0323, P2505)
As someone who is new to this API (so I can't discern from the list of features which might be better for my use case), I second the question, and I'd like to extend the question to how it compares to https://github.com/martinmoene/expected-lite and https://github.com/bitwizeshift/result as well.
- A modern Result type in C++
- C++ “result” type based on modern languages like Swift and Rust
- Modern C++ "result" type based on Swift / Rust
exceptxx
-
Using Exceptions for all Error Handling.... in Theory
Unfortunately I can't post any code as it's not open source. But I'm using exceptions a lot (mostly for checking WinApi and CUDA calls). It's much better than other methods, it provides all necessary information to write to a log and doesn't pollute sources with boilerplate code. I'm throwing and catching exceptions with the help of my own library: https://github.com/SergiusTheBest/exceptxx
What are some alternatives?
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
CQC - CQC (Charmed Quark Controller) a commercial grade, full featured, software based automation system. CQC is built on our CIDLib C++ development system, which is also available here on GitHub.
BackportCpp - Library of backported modern C++ types to work with C++11
CIDLib - The CIDLib general purpose C++ development environment
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
serializer - A single header standard C++ serialization framework.
expected - P0323 & P2505 std::expected simple implementation
cpp-effects - Effect handlers in C++
powerloader
snct-constraints - Prevent whole classes of errors by constraining input parameters
RSL - ROS Support Library
mio - Cross-platform C++11 header-only library for memory mapped file IO