C++23 says expected<void,E>::operator*() to be valid
t-roche opened this issue · comments
t-roche commented
Quoting https://en.cppreference.com/w/cpp/utility/expected/operator*
T is cv void
constexpr void operator*() const noexcept; (3) (since C++23)
A possible patch is attached to this issue.