Hacker News new | ask | show | jobs
by gpderetta 1748 days ago
You can have a named factory function returning an optional<T> (or your preferred fallible type).
1 comments

Right, right... I still haven't adopted the '17 features yet.