Add `cuda::std::expected`
miscco opened this issue · comments
With C++23 there is std::expected
, which enxpands std::optional
with an error channel
We should implement this together with std::optional
to allow users to properly return values or errors