Hacker News new | ask | show | jobs
by zevets 563 days ago
I want to use std::expected because I want clear, explicit error handling, not performance.

There is a time and place for performance optimized code - but usually where the hot loop is well known, and its a tiny minority of the program.