neither
neither copied to clipboard
Either and Maybe monads for better error-handling in C++ ↔️
I'm using the Visual C++ 19.27.29110 compiler on Windows 10. ```shell ❯ bazel test "@com_loopperfect_neither//:all_tests" INFO: Analyzed 4 targets (0 packages loaded, 0 targets configured). INFO: Found 4 test targets......
Hey neither developers, Hey @nikhedonia, so I contributed #30 some time ago and promised to implement some move specializations for `neither::Maybe` which I just started. However, I was not a...
A Maybe is a container like vector but has either 0 or 1 element. This would be convenient: ```c++ for(auto x : maybe(1) ) { std::cout
Currently either is never constexpr because it implements a destructor. This is needed in the generic case as the types for left or right might have a custom destructor. Using...