Recently, when I looked at the compiler support of cppreference, I found that libstdc++ has implemented <expected>. Unfortunately, I found it on the Internet.
This article is reprinted from: https://www.junz.org/post/expected_in_cxx23/
This site is for inclusion only, and the copyright belongs to the original author.