``unexpected<E>`` should provide the member function ``error()``
William8915 opened this issue · 0 comments
William8915 commented
According to https://en.cppreference.com/w/cpp/utility/expected/unexpected, The C++23 standard uses the member function error()
to access the stored E
inside unexpected<E>
. The library currently uses value()
which is inconsistent.