std::expected在最受尊敬的 stackoverflow 答案之一中,我找到了模板类用法 的示例: What are coroutines in C++20?
std::expected
同时我在 cppreference.com 上找不到任何关于此类的提及。你能解释一下它是什么吗?
c++ error-handling c++-faq c++23 std-expected
c++ ×1
c++-faq ×1
c++23 ×1
error-handling ×1
std-expected ×1