result17 icon indicating copy to clipboard operation
result17 copied to clipboard

A rust like Result type for modern C++

Results 3 result17 issues
Sort by recently updated
recently updated
newest added

the `ok()` and `error()` methods return an `std::optional`. The reference wrapper is basically a pointer that can be used like a reference. This means there is already a way to...

enhancement
help wanted

The `std::reference_wrapper` has no operator overloads for our use case. This reduces the value of our `Result` API a lot. We should use a specialized ReferenceWrapper that has overloads for...

enhancement
help wanted
good first issue

The `std::variant` is prone to generate very bad code. Every interaction with the value can throw an exception if the variant is in an invalid state. This exception path basically...

enhancement
help wanted
good first issue