NVIDIA / libcudacxx

[ARCHIVED] The C++ Standard Library for your entire system. See https://github.com/NVIDIA/cccl

Home Page:https://nvidia.github.io/libcudacxx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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