Re:C++ exception performance three years later
by dataflow on Friday December 13, 2024 @09:46AM
(#42408858)
std::expected?
[ Parent
| on HN ]
Re:C++ exception performance three years later
by jeffreygoesto on Saturday December 14, 2024 @03:52AM
(#42415629)
Just be aware that this is a variant and can't be returned via a register, but needs the stack. In (very) hot paths it can be worth switching back to single return values.