expected-lite icon indicating copy to clipboard operation
expected-lite copied to clipboard

expected lite - Expected objects in C++11 and later in a single-file header-only library

Results 17 expected-lite issues
Sort by recently updated
recently updated
newest added

See [expected-dark issue 18](https://github.com/martinmoene/expected-dark/issues/18)

Somewhere inside the constructor there appears to be missing handling of a type declared as volatile https://godbolt.org/z/d399qnY64 std::expected from GCC use for comparison This is a very odd use of...

Based on cppreference, I couldn't see anything that prohibits neither `T` nor `E` from being required to be movable or copyable. [On gcc 13.1 which implements `std::expected`, storing a type...

See https://godbolt.org/z/MvEoq4h7E The std::expected docs for [operator==](https://en.cppreference.com/w/cpp/utility/expected/operator_cmp) cover this with the second overload I believe (T is void. No comparison is made against the "value")

Hello! I have a problem: ``` C:\builds\eprotect-platfrom\auth\client\include\nonstd\expected.hpp(2142) : error C2220: the following warning is treated as an error C:\builds\eprotect-platfrom\auth\client\include\nonstd\expected.hpp(2142) : warning C4702: unreachable code ``` OS: Windows 2022 Visual Studio...