Skip to content

Commit 20c735b

Browse files
Sebastien Poncesponce
Sebastien Ponce
authored andcommitted
Fixed slide on noexcept
1 parent 8f9cbfb commit 20c735b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talk/morelanguage/exceptions.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
\end{cppcode*}
320320
\begin{itemize}
321321
\item either no exceptions is thrown or they are handled internally
322-
\item checked at compile time
322+
\item if one is thrown, `std::terminate` is called
323323
\item allows the compiler to optimize around that knowledge
324324
\end{itemize}
325325
\item a function with \cppinline{noexcept(expression)} is only \cppinline{noexcept} when \cppinline{expression} evaluates to \cppinline{true} at compile-time

0 commit comments

Comments
 (0)