Closed pdimov closed 1 year ago
Per https://brevzin.github.io//c++/2023/01/18/optional-construction/, the corner cases of constructing result<bool> from result<int> (https://godbolt.org/z/9ebvPqsrx) and result<result<int>> from result<int> (https://godbolt.org/z/PMcdE4Yes) are not handled correctly.
result<bool>
result<int>
result<result<int>>
Per https://brevzin.github.io//c++/2023/01/18/optional-construction/, the corner cases of constructing
result<bool>
fromresult<int>
(https://godbolt.org/z/9ebvPqsrx) andresult<result<int>>
fromresult<int>
(https://godbolt.org/z/PMcdE4Yes) are not handled correctly.