TartanLlama / expected

C++11/14/17 std::expected with functional-style extensions

Home Page:https://tl.tartanllama.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++23 says expected<void,E>::operator*() to be valid

t-roche opened this issue · comments

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.

0001-Support-expected-void-E-operator.txt