We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f2b38 commit 4b7b88dCopy full SHA for 4b7b88d
talk/morelanguage/exceptions.tex
@@ -214,7 +214,7 @@
214
\end{itemize}
215
\item \textit{don't} use exceptions to provide alternative/skip return values
216
\begin{itemize}
217
- \item you can use \cppinline{std::optional} or \cppinline{std::variant}
+ \item you can use \cppinline{std::optional}, \cppinline{std::variant} or \cppinline{std::expected} (\cpp23)
218
\item avoid using the global C-style \cppinline{errno}
219
220
\item never throw in destructors
0 commit comments