Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two micro-changes for the advanced part of core-modern. #529

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion talk/morelanguage/exceptions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
\item An exception will leave the program in a defined state
\begin{itemize}
\item At least destructors must be able to run
\item This is similar to the moved from state
\item This is similar to the moved-from state
\end{itemize}
\item No resources are leaked
\end{itemize}
Expand Down
2 changes: 1 addition & 1 deletion talk/morelanguage/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
std::array a{1, 2, 3}; // std::array<int, 3>

std::mutex m;
std::lock_guard l(m); // std::lock_guard<std::mutex>
std::lock_guard l{m}; // std::lock_guard<std::mutex>
\end{cppcode*}
\end{block}
\end{frame}
Expand Down