std::expected<T, E> in C++23 — The Complete Deep Dive
Error handling is one of the most debated topics in C++. Exceptions are powerful but carry overhead and can be disabled on embedded systems. Error codes are fast but easy to ignore and hard to compose
moderncppguide.hashnode.dev36 min read