1 2 3 4 5 6 7 8 9 10
// work around g++ system header limitation #define unexpected unexpected_old #include <exception> #undef unexpected #include <expected.hpp> namespace std { using ::tl::expected; using ::tl::unexpected; }