2 ms·
Instead of using Expected you could also use std::optional or std::variant. Expected might have a slightly clearer API for this use case though.
by Thorrez 7y ago
Instead of using Expected you could also use std::optional or std::variant. Expected might have a slightly clearer API for this use case though.